diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-04-27T23·48+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2007-04-27T23·48+0000 |
commit | 89c1d2b202dccbf91c40586ac33efee515f7e93d (patch) | |
tree | 4db7330ddf5d3473e97421f645577ce89f3389d5 /src/libstore/globals.cc | |
parent | a46db5d013a5c3ab5b041824bfb935e5c042886c (diff) |
* Package flag "keep" that prevents a package from being removed from
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.)
Diffstat (limited to 'src/libstore/globals.cc')
0 files changed, 0 insertions, 0 deletions