1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

php.buildPecl: Add checkPhase

Also update phpPackages' to use NO_INTERACTION
This commit is contained in:
Marco Sirabella 2021-05-27 12:13:16 -04:00
parent d8e73279b9
commit 3a66432f26
No known key found for this signature in database
GPG key ID: 350CE23EFB20D1A7
2 changed files with 2 additions and 1 deletions

View file

@ -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";
})

View file

@ -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