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.
This commit is contained in:
Michael Weiss 2020-11-08 16:50:11 +01:00
parent 19fda989f3
commit db6b85391f
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -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 = [