diff options
author | Valentin Gagarin <valentin.gagarin@tweag.io> | 2023-06-08 02:00:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 02:00:05 +0200 |
commit | db680e0e5751828e788bff4becd89886bde71480 (patch) | |
tree | e80fb208b7ae9fd919ee8e72b98de03fd099cce5 /doc/manual/src/language | |
parent | bf7dc3c7dc24f75fa623135750e8f10b8bcd94f9 (diff) |
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.
Diffstat (limited to 'doc/manual/src/language')
-rw-r--r-- | doc/manual/src/language/index.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/manual/src/language/index.md b/doc/manual/src/language/index.md index 3eabe1a02..69ebc70c0 100644 --- a/doc/manual/src/language/index.md +++ b/doc/manual/src/language/index.md @@ -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* |