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" ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 04e59c557c33..e6c488660f56 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2101,7 +2101,9 @@ in jnettop = callPackage ../tools/networking/jnettop { }; - john = callPackage ../tools/security/john { }; + john = callPackage ../tools/security/john { + gcc = gcc49; # doesn't build with gcc5 + }; jp2a = callPackage ../applications/misc/jp2a { };