mirror of
https://github.com/NixOS/nix.git
synced 2025-11-22 18:29:36 +01:00
libstore: Make AwsAuthError more legible
Instead of the cryptic: > error: Failed to resolve AWS credentials: error code 6153` We now get more legible: > error: AWS authentication error: 'Valid credentials could not be sourced by the IMDS provider' (6153)
This commit is contained in:
parent
dc03c6a812
commit
33e94fe19f
3 changed files with 22 additions and 6 deletions
|
|
@ -158,6 +158,8 @@ curl_s3_store_opt = get_option('curl-s3-store').require(
|
|||
|
||||
if curl_s3_store_opt.enabled()
|
||||
deps_other += aws_crt_cpp
|
||||
aws_c_common = cxx.find_library('aws-c-common', required : true)
|
||||
deps_other += aws_c_common
|
||||
endif
|
||||
|
||||
configdata_pub.set('NIX_WITH_AWS_AUTH', curl_s3_store_opt.enabled().to_int())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue