1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

add evaluation result to example

This commit is contained in:
Valentin Gagarin 2022-08-01 18:21:18 +02:00
parent 87df93e7f8
commit 6b807a91c5

View file

@ -50,6 +50,8 @@ The following example is a Nix expression adding two numbers:
1 + 2
3
Use `nix-instantiate --eval` to evaluate the expression in a Nix file.
echo 1 + 2 > file.nix