about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-14T14·27+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-14T15·26+0200
commitc045630522b8c5d7b3804c6cb0173c16eb1a6d33 (patch)
tree69c3cd7e0c9b9bda1ac19f76c533a41ae3661021 /src/libexpr
parent363f37d0843d87e03bd4dcb600ce04e7be60d7e1 (diff)
Support channel:<channel-name> URIs
For convenience, you can now say

  $ nix-env -f channel:nixos-16.03 -iA hello

instead of

  $ nix-env -f https://nixos.org/channels/nixos-16.03/nixexprs.tar.xz -iA hello

Similarly,

  $ nix-shell -I channel:nixpkgs-unstable -p hello
  $ nix-build channel:nixos-15.09 -A hello

Abstracting over the NixOS/Nixpkgs channels location also allows us to
use a more efficient transport (e.g. Git) in the future.
Diffstat (limited to 'src/libexpr')
0 files changed, 0 insertions, 0 deletions