diff options
author | Patrick Hilhorst <git@hilhorst.be> | 2019-06-04 19:28:44 +0200 |
---|---|---|
committer | Patrick Hilhorst <git@hilhorst.be> | 2019-06-04 19:32:14 +0200 |
commit | e7be5691bab4a4637ab77a7b108b0eff374cef96 (patch) | |
tree | f455f9be38bc4165b99565c6c4282e4d8262a68a /pkgs/applications/window-managers/sway/default.nix | |
parent | 9ab064b8d943fdece05996004773dfc5ef954bde (diff) |
sway: manually update version in meson.build
This wasn't done upstream. Adapted from:
https://github.com/primeos/nixpkgs-primeos/blob/5956e993dd320183f943e72fd6ec200232900249/default.nix#L32-L34
Co-Authored-By: Michael Weiss <dev.primeos@gmail.com>
Diffstat (limited to 'pkgs/applications/window-managers/sway/default.nix')
-rw-r--r-- | pkgs/applications/window-managers/sway/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/sway/default.nix b/pkgs/applications/window-managers/sway/default.nix index f0f319ed39bb..7d5c4c05131d 100644 --- a/pkgs/applications/window-managers/sway/default.nix +++ b/pkgs/applications/window-managers/sway/default.nix @@ -41,6 +41,10 @@ stdenv.mkDerivation rec { wrapProgram $out/bin/sway --prefix PATH : "${swaybg}/bin" ''; + postPatch = '' + sed -i "s/version: '1.0'/version: '${version}'/" meson.build + ''; + meta = with stdenv.lib; { description = "i3-compatible tiling Wayland compositor"; homepage = https://swaywm.org; |