- Dec 22, 2003
-
-
Eelco Dolstra authored
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'
-
- Dec 21, 2003
-
-
Eelco Dolstra authored
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.
-
Eelco Dolstra authored
* `--link' / `-l' flag to specify the switch symlink to use (by default, /nix/var/nix/links/current).
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Dec 05, 2003
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
* Integrity: check in successor / substitute registration whether the target path exists or has a substitute.
-
- Dec 04, 2003
-
-
Martin Bravenboer authored
--register-[substitutes|successors].
-
- Dec 03, 2003
-
-
Eelco Dolstra authored
-
- Dec 02, 2003
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Dec 01, 2003
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
$ nix-instantiate --help error: unknown flag `--help` Try `nix-instantiate --help' for more information. :-)
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
"i686-linux" instead of "i686-suse-linux").
-
- Nov 27, 2003
-
-
Eelco Dolstra authored
-
- Nov 26, 2003
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
* Convert tabs to spaces.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Nov 25, 2003
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Nov 24, 2003
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
The script nix-install-package takes a `Nix package file' (which contains one or more derivations, along with URLs of Nix caches), unpacks it, pulls the caches, and installs the derivations in the user's environment. For best results, associate the command `xterm -e /nix/bin/nix-install-package' with the MIME type `application/x-nix-package' and visit http://losser.st-lab.cs.uu.nl/~eelco/test/.
-
Eelco Dolstra authored
* Hack: `nix-env -i *' installs all available derivations.
-
Eelco Dolstra authored
-