mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
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".)
|
||
|---|---|---|
| .. | ||
| figures | ||
| bugs.xml | ||
| build-farm.xml | ||
| conf-file.xml | ||
| env-common.xml | ||
| glossary.xml | ||
| installation.xml | ||
| introduction.xml | ||
| Makefile.am | ||
| manual.xml | ||
| nix-build.xml | ||
| nix-channel.xml | ||
| nix-collect-garbage.xml | ||
| nix-env.xml | ||
| nix-hash.xml | ||
| nix-install-package.xml | ||
| nix-instantiate.xml | ||
| nix-lang-ref.xml | ||
| nix-pack-closure.xml | ||
| nix-prefetch-url.xml | ||
| nix-pull.xml | ||
| nix-push.xml | ||
| nix-store.xml | ||
| nix-unpack-closure.xml | ||
| opt-common-syn.xml | ||
| opt-common.xml | ||
| package-management.xml | ||
| quick-start.xml | ||
| quote-literals.xsl | ||
| release-notes.xml | ||
| schemas.xml | ||
| style.css | ||
| troubleshooting.xml | ||
| writing-nix-expressions.xml | ||