nix-gh/src
Eelco Dolstra cf0287c09e * Upgrade operation in `nix-env'. For instance, you can say
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-22 16:04:00 +00:00
..
bin2c * "Fix expression" -> "Nix expression". 2003-11-18 12:06:07 +00:00
boost * More `make dist' fixes. 2003-11-25 13:01:21 +00:00
libexpr * More `make dist' fixes. 2003-11-25 13:01:21 +00:00
libmain * Help text for all (non-script) programs, so no more: 2003-12-01 15:55:05 +00:00
libstore * Bug fix: parallel builds of the same derivation failed due to lock file removal. 2003-12-21 17:09:16 +00:00
libutil * Upgrade operation in `nix-env'. For instance, you can say 2003-12-22 16:04:00 +00:00
nix-env * Upgrade operation in `nix-env'. For instance, you can say 2003-12-22 16:04:00 +00:00
nix-hash * Add missing files to `make dist'. 2003-12-02 12:37:37 +00:00
nix-instantiate * Add missing files to `make dist'. 2003-12-02 12:37:37 +00:00
nix-store * Help text for all (non-script) programs, so no more: 2003-12-01 15:55:05 +00:00
Makefile.am * nix-env: a tool to manage user environments. 2003-11-19 17:27:16 +00:00