Merge pull request #125230 from NixOS/backport-124603-to-release-21.05
[Backport release-21.05] php.buildPecl: Add checkPhase
This commit is contained in:
commit
5237039cc1
|
@ -33,4 +33,5 @@ stdenv.mkDerivation (args // {
|
||||||
(dep: "mkdir -p ext; ln -s ${dep.dev}/include ext/${dep.extensionName}")
|
(dep: "mkdir -p ext; ln -s ${dep.dev}/include ext/${dep.extensionName}")
|
||||||
internalDeps}
|
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}")
|
(dep: "mkdir -p ext; ln -s ${dep.dev}/include ext/${dep.extensionName}")
|
||||||
internalDeps}
|
internalDeps}
|
||||||
'';
|
'';
|
||||||
checkPhase = "runHook preCheck; echo n | make test; runHook postCheck";
|
checkPhase = "runHook preCheck; NO_INTERACTON=yes make test; runHook postCheck";
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib/php/extensions
|
mkdir -p $out/lib/php/extensions
|
||||||
|
|
Loading…
Reference in New Issue