Nix Language Quirks: Difference between revisions

imported>Anton-Latukha
add info on replaceString matching ""
imported>Milahu
m typo builtin -> builtins
Line 92: Line 92:
This makes it a sane citizen of Nix lanugage... except it has a twin, called <code>{ inherit ...; }</code>. They DON'T do the same - <code>let inherit ...</code> adds let-bindings, and <code>{ inherit ...; }</code> adds attributes to a record.
This makes it a sane citizen of Nix lanugage... except it has a twin, called <code>{ inherit ...; }</code>. They DON'T do the same - <code>let inherit ...</code> adds let-bindings, and <code>{ inherit ...; }</code> adds attributes to a record.


== builtin.replaceStrings key match on "" ==
== builtins.replaceStrings key match on "" ==


Syntax:
Syntax: