lix/src/nix-env
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
..
help.txt * `nix-env -q --xml --meta' to show all meta attributes. 2007-05-01 11:30:52 +00:00
Makefile.am * Doh! 2006-12-07 22:07:05 +00:00
names.cc * Use a proper namespace. 2006-09-04 21:06:23 +00:00
names.hh * Use a proper namespace. 2006-09-04 21:06:23 +00:00
nix-env.cc * nix-env: allow ~/.nix-defexpr to be a directory. If it is, then the 2007-09-17 16:08:24 +00:00
profiles.cc * Allow unprivileged users to run the garbage collector and to do 2006-12-05 02:18:46 +00:00
profiles.hh * Missing #include. 2006-09-05 10:32:47 +00:00