2003-04-09 15:26:48 +03:00
|
|
|
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
|
2003-06-18 15:35:32 +03:00
|
|
|
export CPLUS_INCLUDE_PATH=$NIX_LINKS/include:$CPLUS_INCLUDE_PATH
|
2003-04-09 15:26:48 +03:00
|
|
|
|
2003-05-30 14:49:06 +03:00
|
|
|
export PKG_CONFIG_PATH=$NIX_LINKS/lib/pkgconfig:$PKG_CONFIG_PATH
|
|
|
|
|
2003-05-30 18:17:40 +03:00
|
|
|
# export MANPATH=$NIX_LINKS/man:$MANPATH
|
2003-05-30 14:49:06 +03:00
|
|
|
|
|
|
|
fi
|