about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-03-08T14·12-0500
committerShea Levy <shea@shealevy.com>2017-03-08T14·12-0500
commit5f831c10574ae7ec44d0d357a6a371ac55d00593 (patch)
tree8670c2edce55b59f8d6911faba836fd46e25c62c /doc
parent93f863be9626e5455458abf9e449586270e98163 (diff)
Add docs for allow-import-from-derivation
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/conf-file.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index 96f8a4b608a4..b1b604100f98 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -644,6 +644,16 @@ password <replaceable>my-password</replaceable>
   </varlistentry>
 
 
+  <varlistentry xml:id="conf-allow-import-from-derivation"><term><literal>allow-import-from-derivation</literal></term>
+
+    <listitem><para>By default, nix allows you to <function>import</function> from a derivation,
+    allowing building at evaluation time. With this option set to false, nix will throw an error
+    when evaluating an expression that uses this feature, allowing users to ensure their evaluation
+    will not require any builds to take place.</para></listitem>
+
+  </varlistentry>
+
+
 </variablelist>
 
 </para>