mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
it is out of date, all over the place in level of detail, is really about `nixpkgs`, and in general instructions should not be part of a reference manual. also: - update redirects and internal links - use "Nix language" consistently
13 lines
618 B
Markdown
13 lines
618 B
Markdown
# Nix Language
|
|
|
|
The Nix 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.
|
|
|
|
This section presents the various features of the language.
|
|
|