refine wording on the purpose of the Nix language

packages and configurations are not really a concept in Nix or the Nix language. the idea of transforming files into other files clearly captures what it's all about, and the new phrasing should make the term "derivation" more obvious both in terms of meaning and origin.
This commit is contained in:
Valentin Gagarin 2023-06-08 02:00:05 +02:00 committed by GitHub
parent bf7dc3c7dc
commit db680e0e57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,9 +4,7 @@ The Nix language is
- *domain-specific*
It only exists for the Nix package manager:
to describe packages and configurations as well as their variants and compositions.
It is not intended for general purpose use.
Its purpose is to conveniently create and compose precise descriptions of how contents of existing files are used to derive new files.
- *declarative*
@ -25,7 +23,7 @@ The Nix language is
- *lazy*
Expressions are only evaluated when their value is needed.
Values are only computed when they are needed.
- *dynamically typed*