john: workaroud for build failure

This commit is contained in:
Daniel Fullmer 2017-09-01 11:02:38 -04:00
parent 86e6e8016d
commit 28b1170f49

View File

@ -26,7 +26,13 @@ stdenv.mkDerivation rec {
}' run/*.conf
'';
preConfigure = "cd src";
preConfigure = ''
cd src
# Makefile.in depends on AS and LD being set to CC, which is set by default in configure.ac.
# This ensures we override the environment variables set in cc-wrapper/setup-hook.sh
export AS=$CC
export LD=$CC
'';
configureFlags = [ "--disable-native-macro" ];
buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 gcc ];