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:
Vincent Ambo 2024-02-02 19:21:37 +03:00 committed by clbot
parent cb2cf3f6b7
commit 8ebfc02fb6

View file

@ -50,8 +50,7 @@ Nix is:
any dependency between operations is established by depending on *data* from
previous operations.
Everything in Nix is an expression, meaning that every directive returns
some kind of data.
Any valid piece of Nix code is an *expression* that returns a value.
Evaluating a Nix expression *yields a single data structure*, it does not
execute a sequence of operations.