aboutsummaryrefslogtreecommitdiff
path: root/src/nix/show-derivation.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-07-15 20:28:16 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-07-15 20:28:16 +0200
commit2d6d53bc87ef7468ad73431cf76123316f4c82bf (patch)
tree3fd1742d50c3082959a139e75f7feaa3048f5c91 /src/nix/show-derivation.cc
parent3624c042ace05db88794e87ee37f3296bab19bc8 (diff)
nix: Fix examples
Diffstat (limited to 'src/nix/show-derivation.cc')
-rw-r--r--src/nix/show-derivation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/show-derivation.cc b/src/nix/show-derivation.cc
index 5d77cfdca..b5434f982 100644
--- a/src/nix/show-derivation.cc
+++ b/src/nix/show-derivation.cc
@@ -33,7 +33,7 @@ struct CmdShowDerivation : InstallablesCommand
return {
Example{
"To show the store derivation that results from evaluating the Hello package:",
- "nix show-derivation nixpkgs.hello"
+ "nix show-derivation nixpkgs#hello"
},
Example{
"To show the full derivation graph (if available) that produced your NixOS system:",