buildFHSEnv: add standard paths for compilers
This commit is contained in:
parent
0bf8a1a86d
commit
9488fee869
@ -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}
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user