aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/manual/advanced-topics/distributed-builds.xml1
-rw-r--r--doc/manual/command-ref/conf-file.xml7
-rw-r--r--doc/manual/expressions/advanced-attributes.xml34
3 files changed, 41 insertions, 1 deletions
diff --git a/doc/manual/advanced-topics/distributed-builds.xml b/doc/manual/advanced-topics/distributed-builds.xml
index 20fd6a0cf..bbb573e35 100644
--- a/doc/manual/advanced-topics/distributed-builds.xml
+++ b/doc/manual/advanced-topics/distributed-builds.xml
@@ -81,6 +81,7 @@ or a newline, e.g.
<para>Each machine specification consists of the following elements,
separated by spaces. Only the first element is required.
+To leave a field at its default, set it to <literal>-</literal>.
<orderedlist>
diff --git a/doc/manual/command-ref/conf-file.xml b/doc/manual/command-ref/conf-file.xml
index 6a23b8f1f..26fe58d04 100644
--- a/doc/manual/command-ref/conf-file.xml
+++ b/doc/manual/command-ref/conf-file.xml
@@ -527,7 +527,12 @@ password <replaceable>my-password</replaceable>
For the exact syntax, see <link
xlink:href="https://ec.haxx.se/usingcurl-netrc.html">the
- <literal>curl</literal> documentation.</link></para></listitem>
+ <literal>curl</literal> documentation.</link></para>
+
+ <note><para>This must be an absolute path, and <literal>~</literal>
+ is not resolved. For example, <filename>~/.netrc</filename> won't
+ resolve to your home directory's <filename>.netrc</filename>.</para></note>
+ </listitem>
</varlistentry>
diff --git a/doc/manual/expressions/advanced-attributes.xml b/doc/manual/expressions/advanced-attributes.xml
index dfd013b5c..9422e82ff 100644
--- a/doc/manual/expressions/advanced-attributes.xml
+++ b/doc/manual/expressions/advanced-attributes.xml
@@ -50,6 +50,40 @@ allowedRequisites = [ foobar ];
</varlistentry>
+ <varlistentry><term><varname>disallowedReferences</varname></term>
+
+ <listitem><para>The optional attribute
+ <varname>disallowedReferences</varname> specifies a list of illegal
+ references (dependencies) of the output of the builder. For
+ example,
+
+<programlisting>
+disallowedReferences = [ foo ];
+</programlisting>
+
+ enforces that the output of a derivation cannot have a direct runtime
+ dependencies on the derivation <varname>foo</varname>.</para></listitem>
+
+ </varlistentry>
+
+
+ <varlistentry><term><varname>disallowedRequisites</varname></term>
+
+ <listitem><para>This attribute is similar to
+ <varname>disallowedReferences</varname>, but it specifies illegal
+ requisites for the whole closure, so all the dependencies
+ recursively. For example,
+
+<programlisting>
+disallowedRequisites = [ foobar ];
+</programlisting>
+
+ enforces that the output of a derivation cannot have any
+ runtime dependency on <varname>foobar</varname> or any other derivation
+ depending recursively on <varname>foobar</varname>.</para></listitem>
+
+ </varlistentry>
+
<varlistentry><term><varname>exportReferencesGraph</varname></term>