Skip to content

Commit

Permalink
manual: mention the "channel:" shorthand for NIX_PATH
Browse files Browse the repository at this point in the history
Bumped to 15.09 because older channels, when downloaded from
nixos.org, require firefox to be accessed via `pkgs.firefox`
  • Loading branch information
veprbl committed Mar 26, 2019
1 parent 5c05c23 commit 75ec68f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions doc/manual/command-ref/env-common.xml
Expand Up @@ -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
Expand Down

0 comments on commit 75ec68f

Please sign in to comment.