summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSilvan Mosberger <infinisil@icloud.com>2019-10-14 17:42:13 +0200
committerSilvan Mosberger <contact@infinisil.com>2020-01-10 16:19:54 +0100
commitd5a292264121e3a3e4015a1d7fb8ccb0bb985ab7 (patch)
treebd8a868cf007656acd848744e3a13dbf7659efb4 /nixos
parent130a0c987830c0a6f61b21765fcab27b883b2263 (diff)
downloadnixpkgs-d5a292264121e3a3e4015a1d7fb8ccb0bb985ab7.tar
nixpkgs-d5a292264121e3a3e4015a1d7fb8ccb0bb985ab7.tar.gz
nixpkgs-d5a292264121e3a3e4015a1d7fb8ccb0bb985ab7.tar.bz2
nixpkgs-d5a292264121e3a3e4015a1d7fb8ccb0bb985ab7.tar.lz
nixpkgs-d5a292264121e3a3e4015a1d7fb8ccb0bb985ab7.tar.xz
nixpkgs-d5a292264121e3a3e4015a1d7fb8ccb0bb985ab7.tar.zst
nixpkgs-d5a292264121e3a3e4015a1d7fb8ccb0bb985ab7.zip
nixos/doc: Note that attrsOf is strict in its values
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/development/option-types.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/doc/manual/development/option-types.xml b/nixos/doc/manual/development/option-types.xml
index 1ec7e3efad7..e4f8396a4bd 100644
--- a/nixos/doc/manual/development/option-types.xml
+++ b/nixos/doc/manual/development/option-types.xml
@@ -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>