mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
Merge pull request #2309 from symphorien/disallowed-man
add manual entries for disallowedRequisites and disallowedReferences
This commit is contained in:
commit
51003f892d
1 changed files with 34 additions and 0 deletions
|
@ -50,6 +50,40 @@ allowedRequisites = [ foobar ];
|
||||||
|
|
||||||
</varlistentry>
|
</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>
|
<varlistentry><term><varname>exportReferencesGraph</varname></term>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue