mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 05:00:58 +01:00
refactor(libstore): withCurlS3 -> withAWS
Now that the legacy S3 implementation is gone, we can go back to calling things `NIX_WITH_S3_SUPPORT`.
This commit is contained in:
parent
9295c14a35
commit
1f710300c9
19 changed files with 42 additions and 44 deletions
|
|
@ -41,7 +41,7 @@ static void builtinFetchurl(const BuiltinBuilderContext & ctx)
|
|||
FileTransferRequest request(VerbatimURL{url});
|
||||
request.decompress = false;
|
||||
|
||||
#if NIX_WITH_CURL_S3
|
||||
#if NIX_WITH_S3_SUPPORT
|
||||
// Use pre-resolved credentials if available
|
||||
if (ctx.awsCredentials && request.uri.scheme() == "s3") {
|
||||
debug("[pid=%d] Using pre-resolved AWS credentials from parent process", getpid());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue