Merge pull request #138444 from bjornfor/phoronix-test-suite-add-missing-hooks

phoronix-test-suite: run missing hooks: preInstall, postInstall
This commit is contained in:
davidak
2021-09-19 03:00:35 +02:00
committed by GitHub
@@ -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 = {