about summary refs log tree commit diff
path: root/pkgs/tools/security/john
diff options
context:
space:
mode:
authorJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 23:24:20 +0100
committerJaka Hudoklin <jakahudoklin@gmail.com>2014-12-11 23:25:26 +0100
commit3ceb789c36494118a8d6f12848c102f61c0abca1 (patch)
treec49dafa6076306a48449e559aee239100e1115b4 /pkgs/tools/security/john
parent5dac2ec4123a20ac40d87cd6d954d4ec7070baac (diff)
john: use systemd wide config, and not from store
Diffstat (limited to 'pkgs/tools/security/john')
-rw-r--r--pkgs/tools/security/john/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/security/john/default.nix b/pkgs/tools/security/john/default.nix
index 97f67dfbd71f7..fb1131b5f98b7 100644
--- a/pkgs/tools/security/john/default.nix
+++ b/pkgs/tools/security/john/default.nix
@@ -6,6 +6,7 @@ stdenv.mkDerivation rec {
   name = "JohnTheRipper-${version}";
   version = "8a3e3c1d";
   buildInputs = [ openssl nss nspr krb5 gmp zlib libpcap re2 ];
+  NIX_CFLAGS_COMPILE = "-DJOHN_SYSTEMWIDE=1";
   preConfigure = ''cd src'';
   installPhase = ''
     ensureDir $out/share/john/