buildFHSEnv: add standard paths for compilers

This commit is contained in:
Nikolay Amiantov 2016-03-15 02:35:00 +03:00
parent 0bf8a1a86d
commit 9488fee869

View file

@ -57,6 +57,11 @@ let
export LOCALE_ARCHIVE='/usr/lib/locale/locale-archive'
export LD_LIBRARY_PATH='/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32'
export PATH='/var/setuid-wrappers:/usr/bin:/usr/sbin'
# Force compilers to look in default search paths
export NIX_CFLAGS_COMPILE='-idirafter /usr/include'
export NIX_LDFLAGS_BEFORE='-L/usr/lib -L/usr/lib32'
${profile}
'';