Nix (language): Difference between revisions
imported>L0b0 Correct and simplify link |
imported>Nix m move to pedias category |
||
Line 1: | Line 1: | ||
This [[:Category: | This [[:Category:Pedias|pedia]] article covers the syntax, semantics, typing, compilation, tooling and libraries of the Nix Expression Language. | ||
<blockquote>The Nix expression language is a pure, lazy, functional language. Purity means that operations in the language don't have side-effects (for instance, there is no variable assignment). Laziness means that arguments to functions are evaluated only when they are needed. Functional means that functions are “normal” values that can be passed around and manipulated in interesting ways. The language is not a full-featured, general purpose language. Its main job is to describe packages, compositions of packages, and the variability within packages.</blockquote> | <blockquote>The Nix expression language is a pure, lazy, functional language. Purity means that operations in the language don't have side-effects (for instance, there is no variable assignment). Laziness means that arguments to functions are evaluated only when they are needed. Functional means that functions are “normal” values that can be passed around and manipulated in interesting ways. The language is not a full-featured, general purpose language. Its main job is to describe packages, compositions of packages, and the variability within packages.</blockquote> | ||
Line 642: | Line 642: | ||
We can use this trick to update the sources of nix expressions (for example by generating a script which updates a json file with the software’s hashes). | We can use this trick to update the sources of nix expressions (for example by generating a script which updates a json file with the software’s hashes). | ||
[[Category: | [[Category:Pedias]] | ||
[[Category:Nix Language]] | [[Category:Nix Language]] | ||
[[Category:Incomplete]] | [[Category:Incomplete]] |