wlr-protocols: move wayland-scanner from checkInputs to
nativeBuildInputs, fix cross compilation
This commit is contained in:
parent
793bbf3f0e
commit
4aab8f1612
1 changed files with 2 additions and 4 deletions
|
@ -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=" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue