Repository navigation
Use .tar.zst tarballs for downloading Nix channels when available - #16685
Merged
Merged
Conversation
GraysonTinker
force-pushed
the
zst-channels
branch
from
October 25, 2026 07:11
aa597c9 to
5f72f44
Compare
xokdvium
reviewed
Oct 25, 2026
xokdvium
reviewed
Oct 25, 2026
GraysonTinker
force-pushed
the
zst-channels
branch
from
October 25, 2026 21:59
5f72f44 to
911d6cf
Compare
Based off the work of Raito Bezarius in https://git.lix.systems/lix-project/lix/commit/b25fb34873ff7c863cfe0e41fedadec96232b57d. Co-authored-by: Raito Bezarius <[email protected]>
GraysonTinker
force-pushed
the
zst-channels
branch
from
October 25, 2026 22:02
911d6cf to
564eb15
Compare
Mic92
approved these changes
Oct 26, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Taken largely from this Lix commit, with adaptations for the differences.
Motivation
.tar.xzchannel tarballs are eventually going to be deprecated, as described in #16126. This PR does part of the work in supporting the newer and preferred.tar.zsttarballs, for thenix-channelcommand. The remaining area where support is required is inlibexpr/eval-settings.ccand was done in Lix in this commit (and the one before it), but those changes are mildly more involved, so I'm putting this in just to get started.Implementation
The
.zsttarballs are preferred to be fetched when possible, that is for all currently supported releases. (channels.nixos.orgbegan offeringnixexprs.tar.zstfrom release 26.05.).xzand the seemingly never used?.bz2tarballs are still checked as a fallback, in that order.Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.