Document allowSubstitutes

This commit is contained in:
Eelco Dolstra 2018-11-07 11:42:22 +01:00
parent 1109193ea3
commit 5a3f140856
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -322,6 +322,20 @@ big = "a very long string";
</varlistentry>
<varlistentry><term><varname>allowSubstitutes</varname></term>
<listitem><para>If this attribute is set to
<literal>false</literal>, then Nix will always build this
derivation; it will not try to substitute its outputs. This is
useful for very trivial derivations (such as
<function>writeText</function> in Nixpkgs) that are cheaper to
build locally than to substitute from a binary
cache.</para></listitem>
</varlistentry>
</variablelist>
</section>