mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
15 lines
318 B
Bash
15 lines
318 B
Bash
|
if test -z "$NIX_SET"; then
|
||
|
|
||
|
export NIX_SET=1
|
||
|
|
||
|
NIX_LINKS=/nix/var/nix/links/current
|
||
|
|
||
|
export PATH=$NIX_LINKS/bin:/nix/bin:$PATH
|
||
|
|
||
|
export LD_LIBRARY_PATH=$NIX_LINKS/lib:$LD_LIBRARY_PATH
|
||
|
|
||
|
export LIBRARY_PATH=$NIX_LINKS/lib:$LIBRARY_PATH
|
||
|
|
||
|
export C_INCLUDE_PATH=$NIX_LINKS/include:$C_INCLUDE_PATH
|
||
|
|
||
|
fi
|