Merge pull request #28855 from danielfullmer/john-compile-fix

john: workaroud for build failure

authored by Michael Raskin and committed by GitHub cc44675d 82c493d3

+7 -1
+7 -1
pkgs/tools/security/john/default.nix
··· 26 26 }' run/*.conf 27 27 ''; 28 28 29 - preConfigure = "cd src"; 29 + preConfigure = '' 30 + cd src 31 + # Makefile.in depends on AS and LD being set to CC, which is set by default in configure.ac. 32 + # This ensures we override the environment variables set in cc-wrapper/setup-hook.sh 33 + export AS=$CC 34 + export LD=$CC 35 + ''; 30 36 configureFlags = [ "--disable-native-macro" ]; 31 37 32 38 buildInputs = [ openssl nss nspr kerberos gmp zlib libpcap re2 gcc ];