From 8ebfc02fb6e74d9c7ddd8cb5e4bd56878fa6f138 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 2 Feb 2024 19:21:37 +0300 Subject: [PATCH] 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 Tested-by: BuildkiteCI Autosubmit: tazjin --- nix/nix-1p/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/nix-1p/README.md b/nix/nix-1p/README.md index 5d2dce83b..45643032d 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.