buildFHSEnv: add standard paths for compilers
This commit is contained in:
parent
0bf8a1a86d
commit
9488fee869
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue