* Version numbers can be omitted in install/uninstall. E.g.,

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.
This commit is contained in:
Eelco Dolstra 2003-12-21 23:58:56 +00:00
parent a81b621202
commit f3c9783846
2 changed files with 110 additions and 38 deletions

View file

@ -4,8 +4,9 @@ nix-env [OPTIONS...] [ARGUMENTS...]
Operations:
--install / -i FILE: add a derivation to the user environment
--uninstall / -e: remove a derivation to the user environment
--install / -i FILE: add derivations to the user environment
--uninstall / -e: remove derivations from the user environment
--upgrade / -u FILE: upgrade derivation in the user environment
--query / -q: perform a query on an environment or Nix expression
The previous operations take a list of derivation names. The special