mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
php.buildPecl: Add checkPhase
Also update phpPackages' to use NO_INTERACTION
(cherry picked from commit 3a66432f26)
This commit is contained in:
committed by
github-actions[bot]
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
|
||||
|
||||
Reference in New Issue
Block a user