mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 00:12:43 +01:00
a user environment by an install or upgrade action. This is
particularly useful if you have a version installed that you don't
want to upgrade (e.g., because the newer versions are broken).
Example:
$ nix-env -u zapping --dry-run
(dry run; not doing anything)
upgrading `zapping-0.9.6' to `zapping-0.10cvs6'
$ nix-env --set-flag keep true zapping
$ nix-env -u zapping --dry-run
(dry run; not doing anything)
However, "-e" will still uninstall the package. (Maybe we should
require the keep flag to be explicitly set to false before it can be
uninstalled.)
|
||
|---|---|---|
| .. | ||
| help.txt | ||
| Makefile.am | ||
| names.cc | ||
| names.hh | ||
| nix-env.cc | ||
| profiles.cc | ||
| profiles.hh | ||