Skip to content

Conversation

@lovesegfault
Copy link
Member

Motivation

S3 buckets support object versioning to prevent unexpected changes,
but Nix previously lacked the ability to fetch specific versions of
S3 objects. This adds support for a versionId query parameter in S3
URLs, enabling users to pin to specific object versions:

s3://bucket/key?region=us-east-1&versionId=abc123

Context

Fixes: #13955


Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Oct 16, 2025
@lovesegfault lovesegfault force-pushed the nix-s3-versioned branch 2 times, most recently from db66c1d to 1ae8442 Compare October 16, 2025 20:32
@lovesegfault lovesegfault force-pushed the nix-s3-versioned branch 2 times, most recently from 5c3fc9c to 7190f02 Compare October 20, 2025 16:50
@lovesegfault lovesegfault force-pushed the nix-s3-versioned branch 2 times, most recently from 07f0d9f to e5fa69e Compare October 20, 2025 21:40
@lovesegfault lovesegfault requested a review from xokdvium October 25, 2025 04:47
S3 buckets support object versioning to prevent unexpected changes,
but Nix previously lacked the ability to fetch specific versions of
S3 objects. This adds support for a `versionId` query parameter in S3
URLs, enabling users to pin to specific object versions:

```
s3://bucket/key?region=us-east-1&versionId=abc123
```
@xokdvium xokdvium enabled auto-merge October 25, 2025 08:04
@xokdvium xokdvium added this pull request to the merge queue Oct 25, 2025
Merged via the queue into NixOS:master with commit f0b95b6 Oct 25, 2025
16 checks passed
@lovesegfault lovesegfault deleted the nix-s3-versioned branch October 25, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Versioned S3 URIs

2 participants