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

This commit is contained in:
Bjørn Forsman 2021-09-18 18:32:31 +02:00
parent 325b91c372
commit ef44879599

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 = {