mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
bc57eb3c8a
won't see header files under Nix control.
20 lines
503 B
Bash
20 lines
503 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
|
|
export CPLUS_INCLUDE_PATH=$NIX_LINKS/include:$CPLUS_INCLUDE_PATH
|
|
|
|
export PKG_CONFIG_PATH=$NIX_LINKS/lib/pkgconfig:$PKG_CONFIG_PATH
|
|
|
|
# export MANPATH=$NIX_LINKS/man:$MANPATH
|
|
|
|
fi
|