Nix Language Quirks: Difference between revisions
imported>Danbst add a note about nix 1.12 |
imported>Fstamour m typo |
||
| Line 3: | Line 3: | ||
== <code>with</code> and <code>let</code> == | == <code>with</code> and <code>let</code> == | ||
<code>with</code> gets less priority | <code>with</code> gets less priority than <code>let</code>. This can lead to confusions, especially if you like to write <code>with pkgs;</code>: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||