about summary refs log tree commit diff
path: root/doc/manual/command-ref
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2019-03-26T01·49-0400
committerGitHub <noreply@github.com>2019-03-26T01·49-0400
commit6e9e34ea1faac175b787734151f44a662ed57241 (patch)
treebb4d0d5f47065595e3217e47a9e1dae64bc7f951 /doc/manual/command-ref
parent5c05c238e60998b9fd276b3c4a39c860dc291200 (diff)
parent75ec68f93ac98956552c06a7fdf4dc8da6841a65 (diff)
Merge pull request #2744 from veprbl/patch-8
manual: mention the "channel:" shorthand for NIX_PATH
Diffstat (limited to 'doc/manual/command-ref')
-rw-r--r--doc/manual/command-ref/env-common.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/manual/command-ref/env-common.xml b/doc/manual/command-ref/env-common.xml
index 361d3e2b0330..c532ffddea22 100644
--- a/doc/manual/command-ref/env-common.xml
+++ b/doc/manual/command-ref/env-common.xml
@@ -52,10 +52,15 @@ nixpkgs=/home/eelco/Dev/nixpkgs-branch:/etc/nixos</screen>
     <envar>NIX_PATH</envar> to
 
     <screen>
-nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-14.12.tar.gz</screen>
+nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-15.09.tar.gz</screen>
 
     tells Nix to download the latest revision in the Nixpkgs/NixOS
-    14.12 channel.</para>
+    15.09 channel.</para>
+
+    <para>A following shorthand can be used to refer to the official channels:
+    
+    <screen>nixpkgs=channel:nixos-15.09</screen>
+    </para>
 
     <para>The search path can be extended using the <option
     linkend="opt-I">-I</option> option, which takes precedence over