Nix (language): Difference between revisions
imported>Mickours →Convert a string to an (import-able) path: Add String + path insights |
imported>Charlycoste m typo |
||
Line 19: | Line 19: | ||
=== Lazy === | === Lazy === | ||
Not all expressions in nixpkgs will be evaluated and instantiated as nix performs evaluation only when needed for a finished output. In the following example <code>abort</code> will never be triggered as the variable it | Not all expressions in nixpkgs will be evaluated and instantiated as nix performs evaluation only when needed for a finished output. In the following example <code>abort</code> will never be triggered as the variable it belongs to is unused: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> | ||
let | let |