aboutsummaryrefslogtreecommitdiff
path: root/src/nix/eval.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/eval.md')
-rw-r--r--src/nix/eval.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/eval.md b/src/nix/eval.md
index 3b510737a..48d5aa597 100644
--- a/src/nix/eval.md
+++ b/src/nix/eval.md
@@ -18,7 +18,7 @@ R""(
* Evaluate a Nix expression from a file:
```console
- # nix eval -f ./my-nixpkgs hello.name
+ # nix eval --file ./my-nixpkgs hello.name
```
* Get the current version of the `nixpkgs` flake: