php.buildPecl: Add checkPhase
Also update phpPackages' to use NO_INTERACTION (cherry picked from commit 3a66432f2616484c880b6daea2393bf1e9425a33)
This commit is contained in:
parent
37b13b3d08
commit
89e61ccf69
@ -33,4 +33,5 @@ stdenv.mkDerivation (args // {
|
||||
(dep: "mkdir -p ext; ln -s ${dep.dev}/include ext/${dep.extensionName}")
|
||||
internalDeps}
|
||||
'';
|
||||
checkPhase = "NO_INTERACTON=yes make test";
|
||||
})
|
||||
|
@ -235,7 +235,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
(dep: "mkdir -p ext; ln -s ${dep.dev}/include ext/${dep.extensionName}")
|
||||
internalDeps}
|
||||
'';
|
||||
checkPhase = "runHook preCheck; echo n | make test; runHook postCheck";
|
||||
checkPhase = "runHook preCheck; NO_INTERACTON=yes make test; runHook postCheck";
|
||||
outputs = [ "out" "dev" ];
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/php/extensions
|
||||
|
Loading…
x
Reference in New Issue
Block a user