sway: manually update version in meson.build
This wasn't done upstream. Adapted from:
5956e993dd/default.nix (L32-L34)
Co-Authored-By: Michael Weiss <dev.primeos@gmail.com>
This commit is contained in:
parent
9ab064b8d9
commit
e7be5691ba
@ -41,6 +41,10 @@ stdenv.mkDerivation rec {
|
|||||||
wrapProgram $out/bin/sway --prefix PATH : "${swaybg}/bin"
|
wrapProgram $out/bin/sway --prefix PATH : "${swaybg}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i "s/version: '1.0'/version: '${version}'/" meson.build
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "i3-compatible tiling Wayland compositor";
|
description = "i3-compatible tiling Wayland compositor";
|
||||||
homepage = https://swaywm.org;
|
homepage = https://swaywm.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user