PSA: Use nixos.org tarballs for your flake inputs!

Is there any way to pick a specific version of that tarball?

I try to report reproducible build failures, so I report something like $ nix-build https://github.com/NixOS/nixpkgs/tarball/2a601aafdc5605a5133a2ca506a34a3a73377247 --attr package --no-out-link

Is there a way to do with channels.nixos.org?
Like https://channels.nixos.org/nixos-unstable/nixexprs.tar.zst/2a601aafdc5605a5133a2ca506a34a3a73377247 or something? (Spoiler placed to not mislead people.)

1 Like