buildFHSEnv: fix NIX_* compiler flags

This is needed now after #27672.
This commit is contained in:
Nikolay Amiantov 2017-10-16 22:06:05 +03:00
parent 6e1f864fd0
commit 2a036ca1a5

View File

@ -54,6 +54,7 @@ let
export PATH='/run/wrappers/bin:/usr/bin:/usr/sbin'
# Force compilers and other tools to look in default search paths
export NIX_CC_WRAPPER_${stdenv.cc.infixSalt}_TARGET_HOST=1
export NIX_CFLAGS_COMPILE='-idirafter /usr/include'
export NIX_LDFLAGS_BEFORE='-L/usr/lib -L/usr/lib32'
export PKG_CONFIG_PATH=/usr/lib/pkgconfig