mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
nixos/doc: Note that attrsOf is strict in its values
This commit is contained in:
parent
130a0c9878
commit
d5a2922641
@ -352,6 +352,11 @@
|
|||||||
An attribute set of where all the values are of
|
An attribute set of where all the values are of
|
||||||
<replaceable>t</replaceable> type. Multiple definitions result in the
|
<replaceable>t</replaceable> type. Multiple definitions result in the
|
||||||
joined attribute set.
|
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>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
Loading…
Reference in New Issue
Block a user