diff --git a/pkgs/development/libraries/wlroots/protocols.nix b/pkgs/development/libraries/wlroots/protocols.nix index 7fd0e40d0754..d2ff39d7d574 100644 --- a/pkgs/development/libraries/wlroots/protocols.nix +++ b/pkgs/development/libraries/wlroots/protocols.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { }; strictDeps = true; - checkInputs = [ wayland-scanner ]; + nativeBuildInputs = [ wayland-scanner ]; patchPhase = '' substituteInPlace wlr-protocols.pc.in \ @@ -25,9 +25,7 @@ stdenv.mkDerivation rec { ''; doCheck = true; - checkPhase = '' - make check - ''; + checkTarget = "check"; installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];