about summary refs log tree commit diff
path: root/doc/manual/introduction
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25T14·55+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25T14·55+0100
commit5f04da905fcd01ea2d68cdbf7af41c836df5bb4e (patch)
tree9cd67607fb5a77fda8c7472f6e7488c246a514ed /doc/manual/introduction
parentd4c8ee70598e6f7908e8667affaeebc031fce06a (diff)
Intro: Mention binary caches
Diffstat (limited to 'doc/manual/introduction')
-rw-r--r--doc/manual/introduction/about-nix.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/manual/introduction/about-nix.xml b/doc/manual/introduction/about-nix.xml
index 54c18a1e6127..56ec39916b6c 100644
--- a/doc/manual/introduction/about-nix.xml
+++ b/doc/manual/introduction/about-nix.xml
@@ -161,13 +161,19 @@ library and the compiler) would have to built, at least if they are
 not already in the Nix store.  This is a <emphasis>source deployment
 model</emphasis>.  For most users, building from source is not very
 pleasant as it takes far too long.  However, Nix can automatically
-skip building from source and download a pre-built binary instead if
-it knows about it.  <emphasis>Nix channels</emphasis> provide Nix
-expressions along with pre-built binaries.</para>
+skip building from source and instead use a <emphasis>binary
+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
+would fall back to building from source.</para>
 
 </simplesect>
 
 
+<!--
 <simplesect><title>Binary patching</title>
 
 <para>In addition to downloading binaries automatically if they’re
@@ -176,6 +182,7 @@ package in the Nix store into a new version.  This speeds up
 upgrades.</para>
 
 </simplesect>
+-->
 
 
 <simplesect><title>Nix Packages collection</title>