diff options
-rw-r--r-- | doc/manual/nix-channel.xml | 2 | ||||
-rw-r--r-- | doc/manual/package-management.xml | 2 | ||||
-rw-r--r-- | doc/manual/quick-start.xml | 2 | ||||
-rw-r--r-- | scripts/nix-profile.sh.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual/nix-channel.xml b/doc/manual/nix-channel.xml index 68dcfd45d4d6..2c4e1151b0d4 100644 --- a/doc/manual/nix-channel.xml +++ b/doc/manual/nix-channel.xml @@ -103,7 +103,7 @@ respectively.</para> <para>To subscribe to the Nixpkgs channel and install the GNU Hello package:</para> <screen> -$ nix-channel --add http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable +$ nix-channel --add http://nixos.org/channels/nixpkgs-unstable $ nix-channel --update $ nix-env -iA nixpkgs.hello</screen> diff --git a/doc/manual/package-management.xml b/doc/manual/package-management.xml index 314218daf346..ca19b13258ce 100644 --- a/doc/manual/package-management.xml +++ b/doc/manual/package-management.xml @@ -443,7 +443,7 @@ URL.</para> <command>nix-channel --add</command>, e.g., <screen> -$ nix-channel --add http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable</screen> +$ nix-channel --add http://nixos.org/channels/nixpkgs-unstable</screen> subscribes you to a channel that always contains that latest version of the Nix Packages collection. (Instead of diff --git a/doc/manual/quick-start.xml b/doc/manual/quick-start.xml index bc43dea6184d..606a93ad563a 100644 --- a/doc/manual/quick-start.xml +++ b/doc/manual/quick-start.xml @@ -41,7 +41,7 @@ file).</para></listitem> <listitem><para>Subscribe to the Nix Packages channel. <screen> -$ nix-channel --add http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable</screen> +$ nix-channel --add http://nixos.org/channels/nixpkgs-unstable</screen> </para></listitem> diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in index ed49a892d969..16eb754c5da9 100644 --- a/scripts/nix-profile.sh.in +++ b/scripts/nix-profile.sh.in @@ -10,7 +10,7 @@ if test -n "$HOME"; then # Subscribe the root user to the Nixpkgs channel by default. if [ ! -e $HOME/.nix-channels ]; then - echo "http://nixos.org/releases/nixos/channels/nixpkgs-unstable nixpkgs" > $HOME/.nix-channels + echo "http://nixos.org/channels/nixpkgs-unstable nixpkgs" > $HOME/.nix-channels fi export PATH=$NIX_LINK/bin:$PATH |