Nix (language): Difference between revisions

imported>Makefu
m fix headline
imported>Makefu
No edit summary
Line 9: Line 9:
The language was designed especially for the [[Nix Package Manager]].
The language was designed especially for the [[Nix Package Manager]].


== Language Features ==
== Language Paradigms ==
This section describes the main language features of the nix expression language
=== lazy evaluation ===
=== lazy evaluation ===


Line 30: Line 29:


A pure function is a function where the return value is only determined by its input values, without observable side effects. In Nix, all build operations try to be as pure as possible to achieve reproducible builds. This means that wherever you build the packages as few side effects as possible should have an impact onto the build.
A pure function is a function where the return value is only determined by its input values, without observable side effects. In Nix, all build operations try to be as pure as possible to achieve reproducible builds. This means that wherever you build the packages as few side effects as possible should have an impact onto the build.
== Language Features ==
This section describes the main language features of the nix expression language


=== expressions ===
=== expressions ===