[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

313/376: Intro: Mention binary caches

From: Ludovic Courtès
Subject: 313/376: Intro: Mention binary caches
Date: Wed, 28 Jan 2015 22:05:51 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit 5f04da905fcd01ea2d68cdbf7af41c836df5bb4e
Author: Eelco Dolstra <address@hidden>
Date:   Tue Nov 25 15:55:28 2014 +0100

    Intro: Mention binary caches
 doc/manual/introduction/about-nix.xml |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/doc/manual/introduction/about-nix.xml 
index 54c18a1..56ec399 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>….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><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
 <simplesect><title>Nix Packages collection</title>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]