Skip to content

build(libstore): add NIX_WITH_CURL_S3 build option#14144

Merged
Mic92 merged 1 commit intoNixOS:masterfrom
lovesegfault:curl-based-s3-pieces
Oct 3, 2025
Merged

build(libstore): add NIX_WITH_CURL_S3 build option#14144
Mic92 merged 1 commit intoNixOS:masterfrom
lovesegfault:curl-based-s3-pieces

Conversation

@lovesegfault
Copy link
Member

Motivation

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

Context

Extracted from #13752


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

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
# Default is this way because there have been issues building this dependency
stdenv.hostPlatform == stdenv.buildPlatform && (stdenv.isLinux || stdenv.isDarwin),

withCurlS3 ? false,
Copy link
Member

@Mic92 Mic92 Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some release notes to advertise this option (for testing) would be nice in the other PR.

@Mic92 Mic92 merged commit 76ac375 into NixOS:master Oct 3, 2025
15 checks passed
@lovesegfault lovesegfault deleted the curl-based-s3-pieces branch October 3, 2025 11:38
@edolstra edolstra mentioned this pull request Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants