Don't talk about a "current folder build output"

Presumably this refers to ./default.nix but the support for that in
'nix' is tenuous. Also folders are a Mac thing.
This commit is contained in:
Eelco Dolstra 2018-09-27 21:01:19 +02:00
parent 9750430003
commit 7cba4214a8
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -69,12 +69,12 @@ struct CmdCopy : StorePathsCommand
},
#ifdef ENABLE_S3
Example{
"To populate the current folder build output to a S3 binary cache:",
"nix copy --to s3://my-bucket?region=eu-west-1"
"To copy Hello to an S3 binary cache:",
"nix copy --to s3://my-bucket?region=eu-west-1 nixpkgs.hello"
},
Example{
"To populate the current folder build output to an S3-compatible binary cache:",
"nix copy --to s3://my-bucket?region=eu-west-1&endpoint=example.com"
"To copy Hello to an S3-compatible binary cache:",
"nix copy --to s3://my-bucket?region=eu-west-1&endpoint=example.com nixpkgs.hello"
},
#endif
};