Merge pull request #2744 from veprbl/patch-8

manual: mention the "channel:" shorthand for NIX_PATH
This commit is contained in:
Graham Christensen 2019-03-25 21:49:48 -04:00 committed by GitHub
commit 6e9e34ea1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,10 +52,15 @@ nixpkgs=/home/eelco/Dev/nixpkgs-branch:/etc/nixos</screen>
<envar>NIX_PATH</envar> to <envar>NIX_PATH</envar> to
<screen> <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 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 <para>The search path can be extended using the <option
linkend="opt-I">-I</option> option, which takes precedence over linkend="opt-I">-I</option> option, which takes precedence over