lix/src/libexpr
Eelco Dolstra a9d15d4f43 * nix-env -i: instead of breaking package ties by version, break them
by priority and version install.  That is, if there are multiple
  packages with the same name, then pick the package with the highest
  priority, and only use the version if there are multiple packages
  with the same priority.

  This makes it possible to mark specific versions/variant in Nixpkgs
  more or less desirable than others.  A typical example would be a
  beta version of some package (e.g., "gcc-4.2.0rc1") which should not
  be installed even though it is the highest version, except when it
  is explicitly selected (e.g., "nix-env -i gcc-4.2.0rc1").

* Idem for nix-env -u, only the semantics are a bit trickier since we
  also need to take into account the priority of the currently
  installed package (we never upgrade to a lower priority, unless
  --always is given).
2007-05-01 20:33:18 +00:00
..
attr-path.cc * Cleanup. 2007-01-13 14:21:49 +00:00
attr-path.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
common-opts.cc * Option --argstr for passing string arguments easily. (NIX-75) 2007-01-14 12:32:44 +00:00
common-opts.hh * Option --argstr for passing string arguments easily. (NIX-75) 2007-01-14 12:32:44 +00:00
eval.cc * New primop "throw <string>" to throw an error. This is like abort, 2007-04-16 15:03:19 +00:00
eval.hh * Memoize strict evaluation. 2007-01-13 15:41:54 +00:00
expr-to-xml.cc * printTermAsXML: treat derivations specially; emit an element 2007-01-13 15:11:10 +00:00
expr-to-xml.hh * Big cleanup of the semantics of paths, strings, contexts, string 2006-10-16 15:55:34 +00:00
get-drvs.cc * nix-env -i: instead of breaking package ties by version, break them 2007-05-01 20:33:18 +00:00
get-drvs.hh * nix-env -i: instead of breaking package ties by version, break them 2007-05-01 20:33:18 +00:00
lexer.l * Big cleanup of the semantics of paths, strings, contexts, string 2006-10-16 15:55:34 +00:00
Makefile.am * Option --argstr for passing string arguments easily. (NIX-75) 2007-01-14 12:32:44 +00:00
nix.sdf * Support `++'. 2006-09-11 13:05:15 +00:00
nixexpr-ast.def * Backwards compatibility with old user environment manifests. 2006-10-17 14:01:45 +00:00
nixexpr.cc * nix-env now maintains meta info (from the `meta' derivation 2007-02-02 01:52:42 +00:00
nixexpr.hh * New primop "throw <string>" to throw an error. This is like abort, 2007-04-16 15:03:19 +00:00
parser.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
parser.y * Handle multiple indirect symlinks when loading a Nix expression. 2007-01-15 14:50:25 +00:00
primops.cc * New primop "throw <string>" to throw an error. This is like abort, 2007-04-16 15:03:19 +00:00