diff options
author | Graham Christensen <graham@grahamc.com> | 2018-04-02 15:02:43 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2018-05-01 06:30:31 -0400 |
commit | 8ab8d9cb74e75de46e647a5d77c137f7ef3ebd2b (patch) | |
tree | 47edc8db2056c8421f0ac981f22104915dd60e4c /nixos/doc | |
parent | 2f0e2376ac45f8ee7724c35df5c72b11f9e03418 (diff) |
Add user channels to the default nix path
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1809.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml index 959bd86759b1e..111d6636dd81a 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: </para> <itemizedlist> <listitem> <para> - TODO + User channels are now in the default <literal>NIX_PATH</literal>, + allowing users to use their personal <command>nix-channel</command> + defined channels in <command>nix-build</command> and + <command>nix-shell</command> commands, as well as in imports like + <code>import <mychannel></code>. </para> + <para>For example</para> + <programlisting> +$ 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' +</programlisting> </listitem> - </itemizedlist> </section> |