mirror of
https://github.com/NixOS/nix.git
synced 2025-11-29 13:41:00 +01:00
* Improvements to profiles. Generations are now per-profile, e.g.,
default -> default-94-link default-82-link -> /nix/store/cc4480... default-83-link -> /nix/store/caeec8... ... default-94-link -> /nix/store/2896ca... experimental -> experimental-2-link experimental-1-link -> /nix/store/cc4480... experimental-2-link -> /nix/store/a3148f... * `--profile' / `-p' -> `--switch-profile' / `-S' * `--link' / `-l' -> `--profile' / `-p' * The default profile is stored in $prefix/var/nix/profiles. $prefix/var/nix/links is gone. Profiles can be stored anywhere. * The current profile is now referenced from ~/.nix-profile, not ~/.nix-userenv. * The roots to the garbage collector now have extension `.gcroot', not `.id'.
This commit is contained in:
parent
d445da7a7b
commit
66e94d3275
10 changed files with 84 additions and 78 deletions
|
|
@ -12,7 +12,7 @@ Operations:
|
|||
The previous operations take a list of derivation names. The special
|
||||
name `*' may be used to indicate all derivations.
|
||||
|
||||
--profile / -p [FILE]: switch to specified user environment
|
||||
--switch-profile / -S [FILE]: switch to specified profile
|
||||
--import / -I FILE: set default Nix expression
|
||||
|
||||
--version: output version information
|
||||
|
|
@ -31,7 +31,7 @@ Query sources:
|
|||
|
||||
Options:
|
||||
|
||||
--link / -l LINK: use symlink LINK instead of (...)/current
|
||||
--profile / -p LINK: use specified profile instead of target of ~/.nix-profile
|
||||
--file / -f FILE: use Nix expression FILE for installation, etc.
|
||||
--verbose / -v: verbose operation (may be repeated)
|
||||
--keep-failed / -K: keep temporary directories of failed builds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue