From db6b85391fee03650b9ea937e64f8b4bfa1b0361 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Sun, 8 Nov 2020 16:50:11 +0100 Subject: [PATCH] sway: Fix the build with wlroots 0.12.0 Sway 1.5 isn't affected by the breaking changes of wlroots 0.12.0 so we can simply relax the version requirement. --- pkgs/applications/window-managers/sway/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/sway/default.nix b/pkgs/applications/window-managers/sway/default.nix index da58d844ee89..0af46db0a1c2 100644 --- a/pkgs/applications/window-managers/sway/default.nix +++ b/pkgs/applications/window-managers/sway/default.nix @@ -22,7 +22,9 @@ stdenv.mkDerivation rec { ]; postPatch = '' - substituteInPlace meson.build --replace "v1.5" "1.5" + substituteInPlace meson.build \ + --replace "v1.5" "1.5" \ + --replace "wlroots_version = ['>=0.11.0', '<0.12.0']" "wlroots_version = ['>=0.11.0', '<0.13.0']" ''; nativeBuildInputs = [