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>
This commit is contained in:
co-authored by
Michael Weiss
parent
9ab064b8d9
commit
e7be5691ba
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user