diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2021-09-18 18:32:31 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2021-09-18 18:32:31 +0200 |
commit | ef448795997dd7bde63cdb1a50413e3f0f855af6 (patch) | |
tree | ac8e0ce63d58b13418968788a66c227faa94ce4e /pkgs/tools/misc/phoronix-test-suite | |
parent | 325b91c372a5984fd783e443b2b01ce7409c7ad4 (diff) |
phoronix-test-suite: run missing hooks: preInstall, postInstall
Diffstat (limited to 'pkgs/tools/misc/phoronix-test-suite')
-rw-r--r-- | pkgs/tools/misc/phoronix-test-suite/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/misc/phoronix-test-suite/default.nix b/pkgs/tools/misc/phoronix-test-suite/default.nix index 971f924faaac2..f0f20d4b3a7b7 100644 --- a/pkgs/tools/misc/phoronix-test-suite/default.nix +++ b/pkgs/tools/misc/phoronix-test-suite/default.nix @@ -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 = { |