mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #28855 from danielfullmer/john-compile-fix
john: workaroud for build failure
This commit is contained in:
commit
cc44675dfc
1 changed files with 7 additions and 1 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue