lix-releng-staging/src/libexpr
Eelco Dolstra 055608227f * nix-env: allow ~/.nix-defexpr to be a directory. If it is, then the
Nix expressions in that directory are combined into an attribute set
  {file1 = import file1; file2 = import file2; ...}, i.e. each Nix
  expression is an attribute with the file name as the attribute
  name.  Also recurses into directories.

* nix-env: removed the "--import" (-I) option which set the
  ~/.nix-defexpr symlink.

* nix-channel: don't use "nix-env --import", instead symlink
  ~/.nix-defexpr/channels.  So finally nix-channel --update doesn't
  override any default Nix expressions but combines with them.

  This means that you can have (say) a local Nixpkgs SVN tree and use
  it as a default for nix-env:

  $ ln -s .../path-to-nixpkgs-tree ~/.nix-defexpr/nixpkgs_svn

  and be subscribed to channels (including Nixpkgs) at the same time.
  (If there is any ambiguity, the -A flag can be used to
  disambiguate, e.g. "nix-env -i -A nixpkgs_svn.pan".)
2007-09-17 16:08:24 +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 builtin function "isFunction". You're not supposed to use it 2007-05-16 16:17:04 +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: allow ~/.nix-defexpr to be a directory. If it is, then the 2007-09-17 16:08:24 +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 * Don't allocate input files on the stack. 2007-08-07 15:00:13 +00:00
primops.cc primop functions listToAttrs (+test), __isAttrs, __trace added 2007-08-18 22:12:00 +00:00