mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
nix-language: Don't imply strict eval is a thing (nix-instantiate)
This commit is contained in:
parent
6518e7cd6b
commit
1106e43cc1
|
@ -176,9 +176,9 @@ $ nix-instantiate --eval
|
|||
:::
|
||||
|
||||
:::{note}
|
||||
The Nix language by default uses lazy evaluation, and will only compute values when needed.
|
||||
The Nix language uses lazy evaluation, and `nix-instantiate` by default does not compute everything.
|
||||
|
||||
Some examples show results of strict evaluation for clarity.
|
||||
Some examples show a fully evaluated data structure for clarity.
|
||||
If your output does not match the example, try adding the `--strict` option to `nix-instantiate`.
|
||||
|
||||
Example:
|
||||
|
|
Loading…
Reference in a new issue