about summary refs log tree commit diff
path: root/src/nix-env/nix-env.cc
AgeCommit message (Collapse)AuthorFilesLines
2007-04-30 * Doh.Eelco Dolstra1-1/+1
2007-04-27 * Package flag "keep" that prevents a package from being removed fromEelco Dolstra1-1/+6
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.)
2007-04-26 * nix-env -q now has a flag --prebuilt-only (-b<) that causes nix-envEelco Dolstra1-0/+8
to show only those derivations whose output is already in the Nix store or that can be substituted (i.e., downloaded from somewhere). In other words, it shows the packages that can be installed “quickly”, i.e., don’t need to be built from source.
2007-02-02 * nix-env now maintains meta info (from the `meta' derivationEelco Dolstra1-14/+72
attribute) about installed packages in user environments. Thus, an operation like `nix-env -q --description' shows useful information not only on available packages but also on installed packages. * nix-env now passes the entire manifest as an argument to the Nix expression of the user environment builder (not just a list of paths), so that in particular the user environment builder has access to the meta attributes. * New operation `--set-flag' in nix-env to change meta info of installed packages. This will be useful to pass per-package policies to the user environment builder (e.g., how to resolve collision or whether to disable a package (NIX-80)) or upgrade policies in nix-env (e.g., that a package should be "masked", that is, left untouched by upgrade actions). Example: $ nix-env --set-flag enabled false ghc-6.4
2007-01-15 * Handle multiple indirect symlinks when loading a Nix expression.Eelco Dolstra1-4/+1
2007-01-14 * Option --argstr for passing string arguments easily. (NIX-75)Eelco Dolstra1-15/+8
2006-12-12 * New operation `nix-env --set' which sets a user environment to aEelco Dolstra1-0/+27
single derivation specified by the argument. This is useful when we want to have a profile for a single derivation, such as a server configuration. Then we can just say (e.g.) $ nix-env -p /.../server-profile -f server.nix --set -A server We can't do queries or upgrades on such a profile, but we can do rollbacks. The advantage over -i is that we don't have to worry about other packages having been installed in the profile previously; --set gets rid of them.
2006-12-07 * Rename all those main.cc files.Eelco Dolstra1-0/+1210