wlr-protocols: move wayland-scanner from checkInputs to

nativeBuildInputs, fix cross compilation
This commit is contained in:
Nick Cao 2022-08-13 20:11:43 +08:00
parent 793bbf3f0e
commit 4aab8f1612
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -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=" ];