Nix Language Quirks: Difference between revisions

Qyriad (talk | contribs)
Clarify that tab characters are not stripped in indented strings
H7x4 (talk | contribs)
Add entry about using null as attrset key
Line 191: Line 191:
nix-repl> -9223372036854775807 - 1
nix-repl> -9223372036854775807 - 1
-9223372036854775808
-9223372036854775808
</syntaxHighlight>
== Using null as key in attribute set deletes the attribute ==
<syntaxHighlight lang=nix>
nix-repl> { ${null} = "value"; key = "value2"; }
{ key = "value2"; }
</syntaxHighlight>
</syntaxHighlight>