aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/security/john
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2016-05-21 22:05:41 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-05-21 22:17:52 +0200
commitd5656873d7b0d5bc52794b3d2c403835426ebd5e (patch)
tree5142799dadc1d01a36dfb968e723ed4369c6c95f /pkgs/tools/security/john
parentb5f322c3d1fb6d39d9021de96b44b6a1146cc795 (diff)
john: use gcc 4.9 instead of 5 (unbreaks build)
Fixes this build error: dynamic_fmt.o: In function `DynamicFunc__crypt_md5_to_input_raw_Overwrite_NoLen': .../john-1.8.0-jumbo-1/src/dynamic_fmt.c:4989: undefined reference to `MD5_body_for_thread' Upstream issue: https://github.com/magnumripper/JohnTheRipper/issues/1093
Diffstat (limited to 'pkgs/tools/security/john')
-rw-r--r--pkgs/tools/security/john/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/john/default.nix b/pkgs/tools/security/john/default.nix
index 2e99208fe114..d428d67fdc9f 100644
--- a/pkgs/tools/security/john/default.nix
+++ b/pkgs/tools/security/john/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, openssl, nss, nspr, kerberos, gmp, zlib, libpcap, re2
-, writeText
+, writeText, gcc
}:
with stdenv.lib;
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
preConfigure = "cd src";
configureFlags = [ "--disable-native-macro" ];
- buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 ];
+ buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 gcc ];
enableParallelBuilding = true;
NIX_CFLAGS_COMPILE = [ "-DJOHN_SYSTEMWIDE=1" ];