summary refs log tree commit diff
path: root/pkgs/tools/security/hashcat
diff options
context:
space:
mode:
authorKier Davis <kierdavis@gmail.com>2017-06-05 19:08:07 +0100
committerKier Davis <kierdavis@gmail.com>2017-06-05 19:13:19 +0100
commitb81124b4fb9084aa1f6cc6f7b134a27200c7c0ed (patch)
treed6846513e99966e39db48673f31353166ed7271a /pkgs/tools/security/hashcat
parent602a492bb740f10f5abf99f5e42f189bddcef8b7 (diff)
downloadnixpkgs-b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed.tar
nixpkgs-b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed.tar.gz
nixpkgs-b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed.tar.bz2
nixpkgs-b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed.tar.lz
nixpkgs-b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed.tar.xz
nixpkgs-b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed.tar.zst
nixpkgs-b81124b4fb9084aa1f6cc6f7b134a27200c7c0ed.zip
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.nix2
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 810d9df9e2f..c8a8acf907d 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 = ''