aboutsummaryrefslogtreecommitdiff
path: root/src/nix/eval.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/eval.cc')
-rw-r--r--src/nix/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/eval.cc b/src/nix/eval.cc
index b7058361c..daefea757 100644
--- a/src/nix/eval.cc
+++ b/src/nix/eval.cc
@@ -41,7 +41,7 @@ struct CmdEval : MixJSON, InstallableCommand
},
Example{
"To get the current version of Nixpkgs:",
- "nix eval --raw nixpkgs.lib.nixpkgsVersion"
+ "nix eval --raw nixpkgs.lib.version"
},
Example{
"To print the store path of the Hello package:",