diff options
author | Graham Christensen <graham.christensen@target.com> | 2018-07-31T20·45-0400 |
---|---|---|
committer | Graham Christensen <graham.christensen@target.com> | 2018-08-02T12·19-0400 |
commit | 49a53c1d3f77ff33e14a95d004a6ce0720293997 (patch) | |
tree | 927f513b4fecc79b790ca266aa012393bac9dd6f /src/nix/copy.cc | |
parent | 3193f5ff3eb54b40b3330b26bc1eb89c4c4a3015 (diff) |
s3 binary cache: support specifying an endpoint
Works for uploading and not downloading.
Diffstat (limited to 'src/nix/copy.cc')
-rw-r--r-- | src/nix/copy.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/copy.cc b/src/nix/copy.cc index e4e6c3e303ed..91711c8b46da 100644 --- a/src/nix/copy.cc +++ b/src/nix/copy.cc @@ -72,6 +72,10 @@ struct CmdCopy : StorePathsCommand "To populate the current folder build output to a S3 binary cache:", "nix copy --to s3://my-bucket?region=eu-west-1" }, + 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" + }, #endif }; } |