nixos/doc: Note that attrsOf is strict in its values

This commit is contained in:
Silvan Mosberger 2019-10-14 17:42:13 +02:00 committed by Silvan Mosberger
parent 130a0c9878
commit d5a2922641
No known key found for this signature in database
GPG Key ID: E8F1E9EAD284E17D

View File

@ -352,6 +352,11 @@
An attribute set of where all the values are of
<replaceable>t</replaceable> type. Multiple definitions result in the
joined attribute set.
<note><para>
This type is <emphasis>strict</emphasis> in its values, which in turn
means attributes cannot depend on other attributes. See <varname>
types.lazyAttrsOf</varname> for a lazy version.
</para></note>
</para>
</listitem>
</varlistentry>