mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
reword note on default.nix
This commit is contained in:
parent
964b3cf2e1
commit
2bc7e57227
|
@ -165,7 +165,7 @@ If `--eval` is omitted, `nix-instantiate` expects the expression in the given fi
|
|||
:::
|
||||
|
||||
:::{note}
|
||||
`nix-instantiate --eval` will evaluate `default.nix` if no file name is specified.
|
||||
`nix-instantiate --eval` will try to read from `default.nix` if no file name is specified.
|
||||
|
||||
```shell-session
|
||||
$ echo 1 + 2 > default.nix
|
||||
|
|
Loading…
Reference in a new issue