From a3d6585c5a1006d4f9ebd2163d06f86ab71a4a3e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 23 Nov 2012 16:20:16 +0100 Subject: nix-copy-closure: Add flag ‘--use-substitutes’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/manual/nix-copy-closure.xml | 26 ++++++++++++++++++++------ doc/manual/release-notes.xml | 7 +++++++ 2 files changed, 27 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/manual/nix-copy-closure.xml b/doc/manual/nix-copy-closure.xml index 4b5ce755c67d..30b3aaee3dcf 100644 --- a/doc/manual/nix-copy-closure.xml +++ b/doc/manual/nix-copy-closure.xml @@ -28,6 +28,8 @@ + + user@machine @@ -65,7 +67,7 @@ those paths. If this bothers you, use Options - + Copy the closure of @@ -119,10 +121,22 @@ those paths. If this bothers you, use - - Also copy the outputs of store derivations included - in the closure. - + + Also copy the outputs of store derivations + included in the closure. + + + + / + + Attempt to download missing paths on the target + machine using Nix’s substitute mechanism. Any paths that cannot + be substituted on the target are still copied normally from the + source. This is useful, for instance, if the connection between + the source and target machine is slow, but the connection between + the target machine and nixos.org (the default + binary cache server) is fast. + @@ -140,7 +154,7 @@ those paths. If this bothers you, use ssh on the command line. - + diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index c1dc6166d817..ea28436b877a 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -81,6 +81,13 @@ $ mount -o remount,ro,bind /nix/store modifications. + + The command nix-copy-closure has a new + flag () to + download missing paths on the target machine using the substitute + mechanism. + + The command nix-worker has been renamed to nix-daemon. Support for running the Nix -- cgit 1.4.1