aboutsummaryrefslogtreecommitdiff
path: root/src/nix/path-info.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/path-info.cc
parent3624c042ace05db88794e87ee37f3296bab19bc8 (diff)
nix: Fix examples
Diffstat (limited to 'src/nix/path-info.cc')
-rw-r--r--src/nix/path-info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/path-info.cc b/src/nix/path-info.cc
index b89a44f83..65f73cd94 100644
--- a/src/nix/path-info.cc
+++ b/src/nix/path-info.cc
@@ -40,7 +40,7 @@ struct CmdPathInfo : StorePathsCommand, MixJSON
},
Example{
"To show a package's closure size and all its dependencies with human readable sizes:",
- "nix path-info -rsSh nixpkgs.rust"
+ "nix path-info -rsSh nixpkgs#rust"
},
Example{
"To check the existence of a path in a binary cache:",