NixOS Reproducible Builds: minimal installation ISO successfully independently rebuilt

redd@discuss.tchncs.de to Linux@lemmy.ml – 179 points –
NixOS Reproducible Builds: minimal installation ISO successfully independently rebuilt
discourse.nixos.org

Great achievement by the NixOS Developers. Congratulations!

10

You are viewing a single comment

I think the ISO specifically wasn't reproducible but now it is.

Nix packages are probably what you're thinking of. They are reproducible

In general nix packages are not reproducible in the sense that the output will be bit-for-bit identical. When a package is built on two different machines, nix will run the same commands, with the same environment variables, using identical inputs (e.g. source tarballs). However there are various ways build systems, compilers etc can still be non-deterministic, and this effort is about fixing that.

In general nix packages are not reproducible in the sense that the output will be bit-for-bit identical.

A large amount aren't but, OTOH, a large amount also are because Nix does almost everything it can to set up an environment without easily preventable sources of non-determinism such as general filesystem access, networking or other means of communication with some uncontrolled system.

Reading this thread I am even more confused about Linux in general.

If you have questions, feel free to ask.