From 5a3f140856185ae0c6ee9270ad5d5fbc0505e3f2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 7 Nov 2018 11:42:22 +0100 Subject: Document allowSubstitutes --- doc/manual/expressions/advanced-attributes.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/manual/expressions/advanced-attributes.xml b/doc/manual/expressions/advanced-attributes.xml index db981b60713b..a9b97b91a0a2 100644 --- a/doc/manual/expressions/advanced-attributes.xml +++ b/doc/manual/expressions/advanced-attributes.xml @@ -322,6 +322,20 @@ big = "a very long string"; + + allowSubstitutes + + If this attribute is set to + false, then Nix will always build this + derivation; it will not try to substitute its outputs. This is + useful for very trivial derivations (such as + writeText in Nixpkgs) that are cheaper to + build locally than to substitute from a binary + cache. + + + + -- cgit 1.4.1