NixOS Reproducible Builds: minimal installation ISO successfully independently rebuilt

redd@discuss.tchncs.de to Linux@lemmy.ml – 178 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

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.