aboutsummaryrefslogtreecommitdiff
path: root/src/nix/log.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/log.cc
parent3624c042ace05db88794e87ee37f3296bab19bc8 (diff)
nix: Fix examples
Diffstat (limited to 'src/nix/log.cc')
-rw-r--r--src/nix/log.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/log.cc b/src/nix/log.cc
index 3fe22f6c2..7e10d373a 100644
--- a/src/nix/log.cc
+++ b/src/nix/log.cc
@@ -18,7 +18,7 @@ struct CmdLog : InstallableCommand
return {
Example{
"To get the build log of GNU Hello:",
- "nix log nixpkgs.hello"
+ "nix log nixpkgs#hello"
},
Example{
"To get the build log of a specific path:",
@@ -26,7 +26,7 @@ struct CmdLog : InstallableCommand
},
Example{
"To get a build log from a specific binary cache:",
- "nix log --store https://cache.nixos.org nixpkgs.hello"
+ "nix log --store https://cache.nixos.org nixpkgs#hello"
},
};
}