wlr-protocols: modernize

As part of https://github.com/NixOS/nixpkgs/issues/356002, https://github.com/NixOS/nixpkgs/issues/541820
This commit is contained in:
klea
2026-07-23 08:38:38 +00:00
parent 3d2613bc58
commit 1782deba0d

View File

@@ -7,7 +7,7 @@
stdenv.mkDerivation {
pname = "wlr-protocols";
version = "unstable-2022-09-05";
version = "0-unstable-2022-09-05";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
@@ -22,8 +22,8 @@ stdenv.mkDerivation {
patchPhase = ''
substituteInPlace wlr-protocols.pc.in \
--replace '=''${pc_sysrootdir}' "=" \
--replace '=@prefix@' "=$out"
--replace-fail '=''${pc_sysrootdir}' "=" \
--replace-fail '=@prefix@' "=$out"
'';
doCheck = true;