mirror of
https://github.com/NixOS/nix.git
synced 2025-11-14 14:32:42 +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,7 +1,7 @@
|
|||
#include "nix/store/s3-url.hh"
|
||||
#include "nix/util/tests/gmock-matchers.hh"
|
||||
|
||||
#if NIX_WITH_S3_SUPPORT
|
||||
#if NIX_WITH_S3_SUPPORT || NIX_WITH_CURL_S3
|
||||
|
||||
# include <gtest/gtest.h>
|
||||
# include <gmock/gmock.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue