diff options
author | Shea Levy <shea@shealevy.com> | 2017-03-08T14·12-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2017-03-08T14·12-0500 |
commit | 5f831c10574ae7ec44d0d357a6a371ac55d00593 (patch) | |
tree | 8670c2edce55b59f8d6911faba836fd46e25c62c /doc | |
parent | 93f863be9626e5455458abf9e449586270e98163 (diff) |
Add docs for allow-import-from-derivation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/command-ref/conf-file.xml | 10 |
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> |