mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-01 18:16:14 +02:00
aa8fda4b54
build action for `system' packages (like system.fix) that have dependencies on all packages we want to activate. So the command sequence to switch to a new activation configuration of the system would be: $ fix -i .../fixdescriptors/system.fix ... system.fix -> 89cf4713b37cc66989304abeb9ea189f $ nix-switch 89cf4713b37cc66989304abeb9ea189f * A nix-profile.sh script that can be included in .bashrc.
15 lines
No EOL
318 B
Bash
15 lines
No EOL
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 |