Skip to content

Commit

Permalink
buildFHSEnv: fix NIX_* compiler flags
Browse files Browse the repository at this point in the history
This is needed now after #27672.
  • Loading branch information
abbradar committed Oct 16, 2017
1 parent 6e1f864 commit 2a036ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/build-support/build-fhs-userenv/env.nix
Expand Up @@ -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
Expand Down

0 comments on commit 2a036ca

Please sign in to comment.