Skip to content

Use nixexprs.tar.zst for channels #16126

Open

Description

@mweinelt

Is your feature request related to a problem?

We'd like to deprecate xz usage in favor of zstd usage over in infra.

To that end we've provided all channels with nixexprs.tar.zst tarballs.

Proposed solution

When fetching a channel nix should prefer nixexprs.tar.zst over nixexprs.tar.{xz,bz2}. We'd like to remove the xz tarball after 2027-12-31.

try {
result = fetchers::downloadFile(*store, fetchSettings, url + "/nixexprs.tar.xz", "nixexprs.tar.xz");
} catch (FileTransferError & e) {
result =
fetchers::downloadFile(*store, fetchSettings, url + "/nixexprs.tar.bz2", "nixexprs.tar.bz2");
}

Alternative solutions

n/a

Additional context

n/a

Checklist


Add 👍 to issues you find important.

Activity

  1. added
    feature
    on Jul 12, 2026
  2. added a commit that references this issue on Sep 7, 2026
  3. nixos-discourse commented on Sep 8, 2026

    @nixos-discourse
  4. added a commit that references this issue on Oct 27, 2026
    efb9a63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions