diff options
-rw-r--r-- | doc/manual/release-notes.xml | 4 | ||||
-rw-r--r-- | doc/manual/writing-nix-expressions.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 44762d1d6c8a..8eb59ab4952a 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -26,8 +26,8 @@ case where the attribute name is just a single antiquotation, the quotes can be dropped (e.g. the above example can be written <literal>set.${foo}</literal>). If an attribute name inside of a - set declaration evaluates to <literal>"${null}"</literal> (e.g. - <literal>{ ${null} = false; }</literal>), then that attribute is not added + set declaration evaluates to <literal>null</literal> (e.g. + <literal>{ ${null} = false; }</literal>), then that attribute is not added to the set.</para></listitem> </itemizedlist> diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml index 873dc21a5292..5585e89fe557 100644 --- a/doc/manual/writing-nix-expressions.xml +++ b/doc/manual/writing-nix-expressions.xml @@ -872,7 +872,7 @@ coerced to a string and <literal>456</literal> otherwise (again assuming <literal>bar</literal> is antiquotable).</para> <para>In the special case where an attribute name inside of a set declaration -evaluates to <literal>"${null}"</literal> (which is normally an error, as +evaluates to <literal>null</literal> (which is normally an error, as <literal>null</literal> is not antiquotable), that attribute is simply not added to the set: |