From f9fc6acbf4eadd2d9018d3da14394fdfbddde5f6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 12 Feb 2014 10:53:22 +0100 Subject: Document current meaning of preferLocalBuild Closes #208. --- doc/manual/writing-nix-expressions.xml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml index 3e6cd7379..c5b355ea0 100644 --- a/doc/manual/writing-nix-expressions.xml +++ b/doc/manual/writing-nix-expressions.xml @@ -1740,12 +1740,15 @@ impureEnvVars = [ "http_proxy" "https_proxy" ... ]; preferLocalBuild If this attribute is set to - true and true, it has two effects. First, the + derivation will always be built, not substituted, even if a + substitute is available. Second, if distributed building is - enabled, then, if possible, perform this build locally - instead of forwarding it to a remote machine. This is appropriate - for trivial builders where the cost of doing a remote build would - exceed the cost of building locally. + enabled, then, if possible, the derivaton will be built + locally instead of forwarded to a remote machine. This is + appropriate for trivial builders where the cost of doing a + download or remote build would exceed the cost of building + locally. -- cgit v1.2.3