From 49a53c1d3f77ff33e14a95d004a6ce0720293997 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 31 Jul 2018 16:45:49 -0400 Subject: s3 binary cache: support specifying an endpoint Works for uploading and not downloading. --- src/nix/copy.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/nix') diff --git a/src/nix/copy.cc b/src/nix/copy.cc index e4e6c3e30..91711c8b4 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 }; } -- cgit v1.2.3