[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
327/376: Use https://cache.nixos.org instead of http://cache.nixos.org
From: |
Ludovic Courtès |
Subject: |
327/376: Use https://cache.nixos.org instead of http://cache.nixos.org |
Date: |
Wed, 28 Jan 2015 22:05:57 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit e5891f2ea848d00245b34ca794ae52ff480625d1
Author: Eelco Dolstra <address@hidden>
Date: Tue Dec 9 11:50:46 2014 +0100
Use https://cache.nixos.org instead of http://cache.nixos.org
---
doc/manual/command-ref/conf-file.xml | 2 +-
doc/manual/command-ref/nix-push.xml | 10 +++++-----
doc/manual/introduction/about-nix.xml | 4 ++--
doc/manual/release-notes/rl-1.8.xml | 6 +++++-
scripts/download-from-binary-cache.pl.in | 2 +-
5 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/doc/manual/command-ref/conf-file.xml
b/doc/manual/command-ref/conf-file.xml
index a7539c4..930ed77 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -348,7 +348,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://cache.nixos.org</literal>.</para></listitem>
+ <literal>https://cache.nixos.org</literal>.</para></listitem>
</varlistentry>
diff --git a/doc/manual/command-ref/nix-push.xml
b/doc/manual/command-ref/nix-push.xml
index c19f44a..a3a3c96 100644
--- a/doc/manual/command-ref/nix-push.xml
+++ b/doc/manual/command-ref/nix-push.xml
@@ -260,7 +260,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://cache.nixos.org</uri> has priority
+ binary cache <uri>https://cache.nixos.org</uri> has priority
40.</para></listitem>
</varlistentry>
@@ -278,14 +278,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://cache.nixos.org</uri> and we want to obtain
-the store path
+cache <uri>https://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://cache.nixos.org/a8922c0h87iilxzzvwn2hmv8x210aqb9.narinfo
+https://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
@@ -389,7 +389,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://cache.nixos.org/nar/0zzjpdz46mdn74v09m053yczlz4am038g8r74iy8w43gx8801h70.nar.bz2
+https://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/introduction/about-nix.xml
b/doc/manual/introduction/about-nix.xml
index 56ec399..efd6cf2 100644
--- a/doc/manual/introduction/about-nix.xml
+++ b/doc/manual/introduction/about-nix.xml
@@ -166,8 +166,8 @@ cache</emphasis>, a web server that provides pre-built
binaries. For
instance, when asked to build
<literal>/nix/store/b6gvzjyb2pg0…-firefox-33.1</literal> from source,
Nix would first check if the file
-<uri>http://cache.nixos.org/b6gvzjyb2pg0….narinfo</uri> exists, and if
-so, fetch the pre-built binary referenced from there; otherwise, it
+<uri>https://cache.nixos.org/b6gvzjyb2pg0….narinfo</uri> exists, and
+if so, fetch the pre-built binary referenced from there; otherwise, it
would fall back to building from source.</para>
</simplesect>
diff --git a/doc/manual/release-notes/rl-1.8.xml
b/doc/manual/release-notes/rl-1.8.xml
index 310aa54..b812915 100644
--- a/doc/manual/release-notes/rl-1.8.xml
+++ b/doc/manual/release-notes/rl-1.8.xml
@@ -4,7 +4,7 @@
version="5.0"
xml:id="ssec-relnotes-1.8">
-<title>Release 1.8 (TBA)</title>
+<title>Release 1.8 (December 9, 2014)</title>
<itemizedlist>
@@ -13,6 +13,10 @@
--serve</command> on the remote machine. This requires build slaves
to be updated to Nix 1.8.</para></listitem>
+ <listitem><para>Nix now uses HTTPS instead of HTTP to access the
+ default binary cache,
+ <literal>cache.nixos.org</literal>.</para></listitem>
+
<listitem><para><command>nix-env</command> selectors are now regular
expressions. For instance, you can do
diff --git a/scripts/download-from-binary-cache.pl.in
b/scripts/download-from-binary-cache.pl.in
index e272f13..fe0195e 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -218,7 +218,7 @@ sub getAvailableCaches {
}
my @urls = strToList($Nix::Config::config{"binary-caches"} //
- ($Nix::Config::storeDir eq "/nix/store" ? "http://cache.nixos.org" :
""));
+ ($Nix::Config::storeDir eq "/nix/store" ? "https://cache.nixos.org" :
""));
my $urlsFiles = $Nix::Config::config{"binary-cache-files"}
//
"$Nix::Config::stateDir/profiles/per-user/$userName/channels/binary-caches/*";
- 317/376: Fix another operator precedence issue found by Perl 5.20, (continued)
- 317/376: Fix another operator precedence issue found by Perl 5.20, Ludovic Courtès, 2015/01/28
- 322/376: Remove Fedora 18, 19 builds, Ludovic Courtès, 2015/01/28
- 319/376: Use posix_spawn to run the pager, Ludovic Courtès, 2015/01/28
- 321/376: Remove some platforms with too-old compilers, Ludovic Courtès, 2015/01/28
- 323/376: Explicitly include required C headers, Ludovic Courtès, 2015/01/28
- 316/376: Merge pull request #401 from shlevy/external-value, Ludovic Courtès, 2015/01/28
- 314/376: Allow external code using libnixexpr to add types, Ludovic Courtès, 2015/01/28
- 328/376: Provide some fallback defaults for the CA bundle, Ludovic Courtès, 2015/01/28
- 329/376: Add option to disable binary cache certificate checking, Ludovic Courtès, 2015/01/28
- 330/376: Doh, Ludovic Courtès, 2015/01/28
- 327/376: Use https://cache.nixos.org instead of http://cache.nixos.org,
Ludovic Courtès <=
- 331/376: Fix bad comment, Ludovic Courtès, 2015/01/28
- 320/376: Define ‘environ’, Ludovic Courtès, 2015/01/28
- 333/376: builtins.readFile: realise context associated with the path, Ludovic Courtès, 2015/01/28
- 332/376: Always use https to fetch the Nixpkgs channel, Ludovic Courtès, 2015/01/28
- 326/376: Link against perl.dll on Cygwin, Ludovic Courtès, 2015/01/28
- 324/376: Set custom compiler flags on Cygwin, Ludovic Courtès, 2015/01/28
- 325/376: Fix library handling on Cygwin, Ludovic Courtès, 2015/01/28
- 335/376: Don't use RPATH on Darwin, Ludovic Courtès, 2015/01/28
- 337/376: Revert "Use posix_spawn to run the pager", Ludovic Courtès, 2015/01/28
- 334/376: Update signing.txt, Ludovic Courtès, 2015/01/28