about summary refs log tree commit diff
path: root/src/nix-env
AgeCommit message (Collapse)AuthorFilesLines
2003-12-22 * GCC 2.95 compatibility.Eelco Dolstra1-0/+2
2003-12-22 * Upgrade operation in `nix-env'. For instance, you can sayEelco Dolstra1-23/+163
nix-env -u foo.nix strategoxt to replace the installed `strategoxt' derivation with the one from `foo.nix', if the latter has a higher version number. This is a no-op if `strategoxt' is not installed. Wildcards are also accepted, so nix-env -u foo.nix '*' will replace any installed derivation with newer versions from `foo.nix', if available. The notion of "version number" is somewhat ad hoc, but should be useful in most cases, as evidenced by the following unit tests for the version comparator: TEST("1.0", "2.3", -1); TEST("2.1", "2.3", -1); TEST("2.3", "2.3", 0); TEST("2.5", "2.3", 1); TEST("3.1", "2.3", 1); TEST("2.3.1", "2.3", 1); TEST("2.3.1", "2.3a", 1); TEST("2.3pre1", "2.3", -1); TEST("2.3pre3", "2.3pre12", -1); TEST("2.3a", "2.3c", -1); TEST("2.3pre1", "2.3c", -1); TEST("2.3pre1", "2.3q", -1); (-1 = less, 0 = equal, 1 = greater) * A new verbosity level `lvlInfo', between `lvlError' and `lvlTalkative'. This is the default for `nix-env', so without any `-v' flags users should get useful output, e.g., $ nix-env -u foo.nix strategoxt upgrading `strategoxt-0.9.2' to `strategoxt-0.9.3'
2003-12-21 * Version numbers can be omitted in install/uninstall. E.g.,Eelco Dolstra2-34/+106
nix-env -i foo.nix subversion The version number part of a derivation name is defined as everything following the first dash not followed by a letter.
2003-12-21 * `-u' -> `-e'.Eelco Dolstra2-39/+58
* `--link' / `-l' flag to specify the switch symlink to use (by default, /nix/var/nix/links/current).
2003-12-02 * Add missing files to `make dist'.Eelco Dolstra1-1/+1
2003-12-02 * Regression fix: query flags (e.g., "-qsf") were broken.Eelco Dolstra1-0/+2
2003-12-01 * Help text for all (non-script) programs, so no more:Eelco Dolstra3-4/+43
$ nix-instantiate --help error: unknown flag `--help` Try `nix-instantiate --help' for more information. :-)
2003-11-24 * Allow the top-level expression to be a derivation.Eelco Dolstra1-13/+18
* Hack: `nix-env -i *' installs all available derivations.
2003-11-22 * Don't use a hard-coded path.Eelco Dolstra1-1/+1
2003-11-22 * Fix the garbage collector.Eelco Dolstra1-1/+3
2003-11-21 * Uninstallation.Eelco Dolstra1-3/+8
2003-11-20 * Uninstall command (doesn't work yet).Eelco Dolstra1-36/+81
2003-11-19 * Installation: add the previously installed packages. Switch to the new Eelco Dolstra1-20/+112
configuration. * Status queries.
2003-11-19 * nix-env: a tool to manage user environments.Eelco Dolstra2-0/+281
* Replace all directory reading code by a generic readDirectory() function.