## Is your feature request related to a problem? <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] --> 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 <!-- A clear and concise description of what you want to happen. --> 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. https://github.com/NixOS/nix/blob/79b58eb9d976e131cdcee919e448c79132250c91/src/nix/nix-channel/nix-channel.cc#L159-L164 ## Alternative solutions <!-- A clear and concise description of any alternative solutions or features you've considered. --> n/a ## Additional context <!-- Add any other context or screenshots about the feature request here. --> n/a ## Checklist <!-- make sure this issue is not redundant or obsolete --> - [ ] checked [latest Nix manual] \([source]) - [ ] checked [open feature issues and pull requests] for possible duplicates - [ ] reviewed the [contributing guide] [latest Nix manual]: https://nix.dev/manual/nix/development/ [source]: https://github.com/NixOS/nix/tree/master/doc/manual/source [open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature [contributing guide]: https://github.com/NixOS/nix/blob/master/CONTRIBUTING.md --- Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
Activity
chore: switch to `.tar.zst`
nixos-discourse commentedon Sep 8, 2026
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/psa-use-nixos-org-tarballs-for-your-flake-inputs/79950/22
flake: use tar.zst instead of tar.xz for nixpkgs tarball
libexpr: support .tar.zst and .tar.bz2 for channels