aboutsummaryrefslogtreecommitdiff
path: root/src/nix/copy.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/copy.cc
parent3624c042ace05db88794e87ee37f3296bab19bc8 (diff)
nix: Fix examples
Diffstat (limited to 'src/nix/copy.cc')
-rw-r--r--src/nix/copy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/copy.cc b/src/nix/copy.cc
index 5281ff5ee..811c8ab34 100644
--- a/src/nix/copy.cc
+++ b/src/nix/copy.cc
@@ -72,11 +72,11 @@ struct CmdCopy : StorePathsCommand
#ifdef ENABLE_S3
Example{
"To copy Hello to an S3 binary cache:",
- "nix copy --to s3://my-bucket?region=eu-west-1 nixpkgs.hello"
+ "nix copy --to s3://my-bucket?region=eu-west-1 nixpkgs#hello"
},
Example{
"To copy Hello to an S3-compatible binary cache:",
- "nix copy --to s3://my-bucket?region=eu-west-1&endpoint=example.com nixpkgs.hello"
+ "nix copy --to s3://my-bucket?region=eu-west-1&endpoint=example.com nixpkgs#hello"
},
#endif
};