From f727f815cb075f6ff466f8c8a02a275502709eec Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 21 Jan 2016 18:43:52 +0300 Subject: [PATCH] nixpkgs manual: mention preferLocalBuild and enableParallelBuilding --- doc/stdenv.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/stdenv.xml b/doc/stdenv.xml index 6bb1002a4c6..8df23c91152 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -224,6 +224,30 @@ genericBuild + + Variables affecting build properties + + + enableParallelBuilding + If set, stdenv will pass specific + flags to make and other build tools to enable + parallel building with up to build-cores + workers. + + + + preferLocalBuild + If set, specifies that the package is so lightweight + in terms of build operations (e.g. write a text file from a Nix string + to the store) that there's no need to look for it in binary caches -- + it's faster to just build it locally. It also tells Hydra and other + facilities that this package doesn't need to be exported in binary + caches (noone would use it, after all). + + + + +