docs(nix-1p): clarify wording for what is an expression
See https://github.com/tazjin/nix-1p/issues/19 Change-Id: Ie78eb00192b595ffa59040a4f6d311023621939a Reviewed-on: https://cl.tvl.fyi/c/depot/+/10737 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
cb2cf3f6b7
commit
8ebfc02fb6
1 changed files with 1 additions and 2 deletions
|
@ -50,8 +50,7 @@ Nix is:
|
||||||
any dependency between operations is established by depending on *data* from
|
any dependency between operations is established by depending on *data* from
|
||||||
previous operations.
|
previous operations.
|
||||||
|
|
||||||
Everything in Nix is an expression, meaning that every directive returns
|
Any valid piece of Nix code is an *expression* that returns a value.
|
||||||
some kind of data.
|
|
||||||
|
|
||||||
Evaluating a Nix expression *yields a single data structure*, it does not
|
Evaluating a Nix expression *yields a single data structure*, it does not
|
||||||
execute a sequence of operations.
|
execute a sequence of operations.
|
||||||
|
|
Loading…
Reference in a new issue