1
1
Fork 0
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:
Sergei Zimmerman 2025-10-16 21:48:13 +03:00
parent dc03c6a812
commit 33e94fe19f
No known key found for this signature in database
3 changed files with 22 additions and 6 deletions

View file

@ -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())