about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09T12·33+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-11-09T12·33+0100
commita9a8baaccbe1c8291d0cfd42fe3c87377b105381 (patch)
treed3044a5c04fa28f99b101c348bed3117796e9a35
parentc31ebc50aaaf011f020b7314baa9921aae1050a6 (diff)
Use a shorter Nixpkgs channel URL
-rw-r--r--doc/manual/nix-channel.xml2
-rw-r--r--doc/manual/package-management.xml2
-rw-r--r--doc/manual/quick-start.xml2
-rw-r--r--scripts/nix-profile.sh.in2
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