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:
Patrick Hilhorst 2019-06-04 19:28:44 +02:00
parent 9ab064b8d9
commit e7be5691ba
No known key found for this signature in database
GPG Key ID: 589BB0A8DAFEF2B2

View File

@ -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;