diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index a7539c4c7..930ed773f 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -348,7 +348,7 @@ flag, e.g. --option gc-keep-outputs false.
A list of URLs of binary caches, separated by
whitespace. The default is
- http://cache.nixos.org.
+ https://cache.nixos.org.
diff --git a/doc/manual/command-ref/nix-push.xml b/doc/manual/command-ref/nix-push.xml
index c19f44a61..a3a3c9623 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:
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 http://cache.nixos.org has priority
+ binary cache https://cache.nixos.org has priority
40.
@@ -278,14 +278,14 @@ URL url has a binary for
p, Nix fetches
url/h, where h
is the hash part of p. Thus, if we have a
-cache http://cache.nixos.org and we want to obtain
-the store path
+cache https://cache.nixos.org and we want to obtain the
+store path
/nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7
then Nix will attempt to fetch
-http://cache.nixos.org/a8922c0h87iilxzzvwn2hmv8x210aqb9.narinfo
+https://cache.nixos.org/a8922c0h87iilxzzvwn2hmv8x210aqb9.narinfo
(Commands such as nix-env -qas 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.,
/nix/store/2ma2k0ys8knh4an48n28vigcmc2z8773-linux-headers-2.6.23.16),
Nix will fetch
-http://cache.nixos.org/nar/0zzjpdz46mdn74v09m053yczlz4am038g8r74iy8w43gx8801h70.nar.bz2
+https://cache.nixos.org/nar/0zzjpdz46mdn74v09m053yczlz4am038g8r74iy8w43gx8801h70.nar.bz2
and decompress and unpack it to
/nix/store/a8922c0h87iilxzzvwn2hmv8x210aqb9-glibc-2.7.
diff --git a/doc/manual/introduction/about-nix.xml b/doc/manual/introduction/about-nix.xml
index 56ec39916..efd6cf2bb 100644
--- a/doc/manual/introduction/about-nix.xml
+++ b/doc/manual/introduction/about-nix.xml
@@ -166,8 +166,8 @@ cache, a web server that provides pre-built binaries. For
instance, when asked to build
/nix/store/b6gvzjyb2pg0…-firefox-33.1 from source,
Nix would first check if the file
-http://cache.nixos.org/b6gvzjyb2pg0….narinfo exists, and if
-so, fetch the pre-built binary referenced from there; otherwise, it
+https://cache.nixos.org/b6gvzjyb2pg0….narinfo exists, and
+if so, fetch the pre-built binary referenced from there; otherwise, it
would fall back to building from source.
diff --git a/doc/manual/release-notes/rl-1.8.xml b/doc/manual/release-notes/rl-1.8.xml
index 310aa5479..b812915a9 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">
-
Release 1.8 (TBA)
+Release 1.8 (December 9, 2014)
@@ -13,6 +13,10 @@
--serve on the remote machine. This requires build slaves
to be updated to Nix 1.8.
+ Nix now uses HTTPS instead of HTTP to access the
+ default binary cache,
+ cache.nixos.org.
+
nix-env 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 e272f139c..fe0195e4e 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/*";