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:
parent
8a8a0c2a4b
commit
27f6417128
8 changed files with 45 additions and 6 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue