s3 binary cache: support specifying an endpoint

Works for uploading and not downloading.
This commit is contained in:
Graham Christensen 2018-07-31 16:45:49 -04:00
parent 3193f5ff3e
commit 49a53c1d3f
5 changed files with 33 additions and 8 deletions

View file

@ -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
};
}