News for hackers. Stuff that matters.
Re:Ditch your version manager by jbboehr on Monday September 20, 2021 @10:33AM (#28594216)
> To truly make the claim that nix allows reproducible builds, it needs to provide: - a way to specify versions that don't depend on the commit hash of a "nixpck channel" whatever that is

I don't see why a commit hash in insufficient to declare a package reproducible. For my system, I just use channels, but for anything mission critical, I think most people pin their commit hash of nixpkgs [0]. A pinned commit of nixpkgs will produce the exact same set of packages, forever.

> a way to actually properly pin package versions

The way you do this is to pull in a specific commit of nixpkgs (you can install packages from many versions of it at the same time, if you want). Alternatively, you can manually vendor the package file, which is what I usually do for one or two packages.

[0]: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs

Re:Ditch your version manager by dmitriid on Tuesday September 21, 2021 @04:22AM (#28603048)
> I don't see why a commit hash in insufficient to declare a package reproducible.

I didn't say it wasn't sufficient. The problem is that you need to find this hash, and there's no way to do it.

See this issue and discussion there: https://github.com/NixOS/nixpkgs/issues/93327