1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

build(libstore): add NIX_WITH_CURL_S3 build option

Introduce a new build option 'curl-s3-store' for the curl-based S3
implementation, separate from the existing AWS SDK-based 's3-store'.
The two options are mutually exclusive to avoid conflicts.

Users can enable the new implementation with:
  -Dcurl-s3-store=enabled -Ds3-store=disabled
This commit is contained in:
Bernardo Meurer Costa 2025-10-03 00:45:49 +00:00
parent 8a8a0c2a4b
commit 27f6417128
No known key found for this signature in database
8 changed files with 45 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#include "nix/store/s3-url.hh"
#if NIX_WITH_S3_SUPPORT
#if NIX_WITH_S3_SUPPORT || NIX_WITH_CURL_S3
# include "nix/util/error.hh"
# include "nix/util/split.hh"