From 89c1d2b202dccbf91c40586ac33efee515f7e93d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 27 Apr 2007 23:48:14 +0000 Subject: * 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.) --- doc/manual/release-notes.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/manual') diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 161643e52d..3b4525129d 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -72,8 +72,8 @@ TODO: nix-env . Specific flags: - active, - priority. + active, priority, + keep. nix-env -q now has a flag -- cgit 1.4.1