diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-05 13:36:43 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-06-05 13:36:43 +0200 |
commit | f0576d67756fedca0010d20aaed2e9cffd24a108 (patch) | |
tree | 03cd621187bbf14f601d3c8ff6a619692772ad72 /doc | |
parent | ff08306746e88e708612cdc6d2dac84bd76f1106 (diff) |
Update the default binary cache URL to cache.nixos.org
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/conf-file.xml | 2 | ||||
-rw-r--r-- | doc/manual/nix-push.xml | 8 | ||||
-rw-r--r-- | doc/manual/release-notes.xml | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/doc/manual/conf-file.xml b/doc/manual/conf-file.xml index 932c339eb..fa9149834 100644 --- a/doc/manual/conf-file.xml +++ b/doc/manual/conf-file.xml @@ -325,7 +325,7 @@ flag, e.g. <literal>--option gc-keep-outputs false</literal>.</para> <listitem><para>A list of URLs of binary caches, separated by whitespace. The default is - <literal>http://nixos.org/binary-cache</literal>.</para></listitem> + <literal>http://cache.nixos.org</literal>.</para></listitem> </varlistentry> diff --git a/doc/manual/nix-push.xml b/doc/manual/nix-push.xml index 4512970d9..c4a6b8080 100644 --- a/doc/manual/nix-push.xml +++ b/doc/manual/nix-push.xml @@ -252,7 +252,7 @@ The properties that are currently supported are: <listitem><para>Each binary cache has a priority (defaulting to 50). Binary caches are checked for binaries in order of ascending priority; thus a higher number denotes a lower priority. The - binary cache <uri>http://nixos.org/binary-cache</uri> has priority + binary cache <uri>http://cache.nixos.org</uri> has priority 40.</para></listitem> </varlistentry> @@ -270,14 +270,14 @@ URL <replaceable>url</replaceable> has a binary for <replaceable>p</replaceable>, Nix fetches <replaceable>url/h</replaceable>, where <replaceable>h</replaceable> is the hash part of <replaceable>p</replaceable>. Thus, if we have a -cache <uri>http://nixos.org/binary-cache</uri> and we want to obtain +cache <uri>http://cache.nixos.org</uri> and we want to obtain the store path <screen> /nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7 </screen> then Nix will attempt to fetch <screen> -http://nixos.org/binary-cache/a8922c0h87iilxzzvwn2hmv8x210aqb9.narinfo +http://cache.nixos.org/a8922c0h87iilxzzvwn2hmv8x210aqb9.narinfo </screen> (Commands such as <command>nix-env -qas</command> will issue an HTTP HEAD request, since it only needs to know if the @@ -381,7 +381,7 @@ The fields are as follows: references exist (e.g., <filename>/nix/store/2ma2k0ys8knh4an48n28vigcmc2z8773-linux-headers-2.6.23.16</filename>), Nix will fetch <screen> -http://nixos.org/binary-cache/nar/0zzjpdz46mdn74v09m053yczlz4am038g8r74iy8w43gx8801h70.nar.bz2 +http://cache.nixos.org/nar/0zzjpdz46mdn74v09m053yczlz4am038g8r74iy8w43gx8801h70.nar.bz2 </screen> and decompress and unpack it to <filename>/nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7</filename>.</para> diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 5ab5041aa..f58e549ef 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -107,10 +107,10 @@ Pernsteiner.</para> configuration setting <option>binary-caches</option> contains a list of URLs of binary caches. For instance, doing <screen> -$ nix-env -i thunderbird --option binary-caches http://nixos.org/binary-cache +$ nix-env -i thunderbird --option binary-caches http://cache.nixos.org </screen> will install Thunderbird and its dependencies, using the available - pre-built binaries in <uri>http://nixos.org/binary-cache</uri>. + pre-built binaries in <uri>http://cache.nixos.org</uri>. The main advantage over the old “manifest”-based method of getting pre-built binaries is that you don’t have to worry about your manifest being in sync with the Nix expressions you’re installing @@ -123,7 +123,7 @@ $ nix-env -i thunderbird --option binary-caches http://nixos.org/binary-cache used automatically if you subscribe to that channel. If you use the Nixpkgs or NixOS channels (<uri>http://nixos.org/channels</uri>) you automatically get the - cache <uri>http://nixos.org/binary-cache</uri>.</para> + cache <uri>http://cache.nixos.org</uri>.</para> <para>Binary caches are created using <command>nix-push</command>. For details on the operation and format of binary caches, see the |