From 8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Mon, 2 Apr 2018 15:02:43 -0400 Subject: Add user channels to the default nix path --- nixos/doc/manual/release-notes/rl-1809.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'nixos/doc') diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml index 959bd86759b1..111d6636dd81 100644 --- a/nixos/doc/manual/release-notes/rl-1809.xml +++ b/nixos/doc/manual/release-notes/rl-1809.xml @@ -20,10 +20,21 @@ has the following highlights: - TODO + User channels are now in the default NIX_PATH, + allowing users to use their personal nix-channel + defined channels in nix-build and + nix-shell commands, as well as in imports like + import <mychannel>. + For example + +$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgsunstable +$ nix-channel --update +$ nix-build '<nixpkgsunstable>' -A gitFull +$ nix run -f '<nixpkgsunstable>' gitFull +$ nix-instantiate -E '(import <nixpkgsunstable> {}).gitFull' + - -- cgit 1.4.1