about summary refs log tree commit diff
path: root/nix/nix-1p/README.md
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-02T16·21+0300
committerclbot <clbot@tvl.fyi>2024-02-02T16·39+0000
commit8ebfc02fb6e74d9c7ddd8cb5e4bd56878fa6f138 (patch)
tree856deea7a7138fc86b817aa839f9b55e86a964de /nix/nix-1p/README.md
parentcb2cf3f6b774bbd8f214e603f7e7f5610e70f78a (diff)
docs(nix-1p): clarify wording for what is an expression r/7472
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>
Diffstat (limited to 'nix/nix-1p/README.md')
-rw-r--r--nix/nix-1p/README.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/nix/nix-1p/README.md b/nix/nix-1p/README.md
index 5d2dce83bf20..45643032d063 100644
--- a/nix/nix-1p/README.md
+++ b/nix/nix-1p/README.md
@@ -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.