phoronix-test-suite: run missing hooks: preInstall, postInstall

(cherry picked from commit ef448795997dd7bde63cdb1a50413e3f0f855af6)
This commit is contained in:
Bjørn Forsman 2021-09-18 18:32:31 +02:00
parent 317f0270aa
commit 79cfaa09fa

View File

@ -13,10 +13,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ which gnused makeWrapper ];
installPhase = ''
runHook preInstall
./install-sh $out
wrapProgram $out/bin/phoronix-test-suite \
--set PHP_BIN ${php}/bin/php \
--prefix PATH : ${lib.makeBinPath [ gnumake gcc ]}
runHook postInstall
'';
passthru.tests = {