diff options
author | Kier Davis <kierdavis@gmail.com> | 2017-06-05 19:08:07 +0100 |
---|---|---|
committer | Kier Davis <kierdavis@gmail.com> | 2017-06-05 19:13:19 +0100 |
commit | b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed (patch) | |
tree | d6846513e99966e39db48673f31353166ed7271a /pkgs/tools/security/hashcat | |
parent | 602a492bb740f10f5abf99f5e42f189bddcef8b7 (diff) |
Fix hooks not being called when overriding phases in various packages
It's necessary to do this in order to fix ckb's compilation, now that fixupPhase rejects derivation results containing references to the temporary build directory. It seems like good practice so I've added it to the other packages that I maintain.
Diffstat (limited to 'pkgs/tools/security/hashcat')
-rw-r--r-- | pkgs/tools/security/hashcat/hashcat3/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/security/hashcat/hashcat3/default.nix b/pkgs/tools/security/hashcat/hashcat3/default.nix index 810d9df9e2fe2..c8a8acf907d36 100644 --- a/pkgs/tools/security/hashcat/hashcat3/default.nix +++ b/pkgs/tools/security/hashcat/hashcat3/default.nix @@ -18,7 +18,9 @@ stdenv.mkDerivation rec { # $out is not known until the build has started. configurePhase = '' + runHook preConfigure makeFlags="$makeFlags PREFIX=$out" + runHook postConfigure ''; postFixup = '' |