nixpkgs manual: mention preferLocalBuild and enableParallelBuilding

+24
+24
doc/stdenv.xml
··· 224 224 225 225 </variablelist> 226 226 227 + <variablelist> 228 + <title>Variables affecting build properties</title> 229 + 230 + <varlistentry> 231 + <term><varname>enableParallelBuilding</varname></term> 232 + <listitem><para>If set, <literal>stdenv</literal> will pass specific 233 + flags to <literal>make</literal> and other build tools to enable 234 + parallel building with up to <literal>build-cores</literal> 235 + workers.</para></listitem> 236 + </varlistentry> 237 + 238 + <varlistentry> 239 + <term><varname>preferLocalBuild</varname></term> 240 + <listitem><para>If set, specifies that the package is so lightweight 241 + in terms of build operations (e.g. write a text file from a Nix string 242 + to the store) that there's no need to look for it in binary caches -- 243 + it's faster to just build it locally. It also tells Hydra and other 244 + facilities that this package doesn't need to be exported in binary 245 + caches (noone would use it, after all).</para></listitem> 246 + </varlistentry> 247 + 248 + </variablelist> 249 + 250 + 227 251 </section> 228 252 229 253