diff options
Diffstat (limited to 'pkgs/build-support/build-fhsenv-chroot')
-rw-r--r-- | pkgs/build-support/build-fhsenv-chroot/env.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/build-fhsenv-chroot/env.nix b/pkgs/build-support/build-fhsenv-chroot/env.nix index abc9ac4c026..a1a26472373 100644 --- a/pkgs/build-support/build-fhsenv-chroot/env.nix +++ b/pkgs/build-support/build-fhsenv-chroot/env.nix @@ -78,6 +78,7 @@ let # Force compilers and other tools to look in default search paths unset NIX_ENFORCE_PURITY + export NIX_BINTOOLS_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1 export NIX_CC_WRAPPER_TARGET_HOST_${stdenv.cc.suffixSalt}=1 export NIX_CFLAGS_COMPILE='-idirafter /usr/include' export NIX_CFLAGS_LINK='-L/usr/lib -L/usr/lib32' |