1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* We no longer use nix-populate standalone, rather we use it as a

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.
This commit is contained in:
Eelco Dolstra 2003-04-09 12:26:48 +00:00
parent f56b7312b2
commit aa8fda4b54
8 changed files with 85 additions and 42 deletions

5
scripts/Makefile.am Normal file
View file

@ -0,0 +1,5 @@
bin_SCRIPTS = nix-generate-regscript nix-switch
install-exec-local:
$(INSTALL) -d $(sysconfdir)/profile.d
$(INSTALL_PROGRAM) nix-profile.sh $(sysconfdir)/profile.d/nix.sh