News for hackers. Stuff that matters.
Re:What is Nix and why you should try it by j_s on Sunday October 15, 2017 @05:24PM (#15479381)
Just a heads-up in case anyone is confused as I was: Nix is not 100% bit-for-bit deterministic/reproducible yet, though they do deliver functional equivalence.
Re:What is Nix and why you should try it by FrozenCow on Sunday October 15, 2017 @06:13PM (#15479629)
There are efforts to get deterministic builds in NixOS, but it comes with downsides like very high build times.
Re:What is Nix and why you should try it by sly010 on Sunday October 15, 2017 @06:33PM (#15479712)
Can you elaborate? I always thought deterministic builds would enable faster builds (because it would basically allow for downloading and verification of binaries).
Re:What is Nix and why you should try it by wmertens on Monday October 16, 2017 @01:06AM (#15480960)
As an example, gcc includes code generators that try a few random things in order to optimize code. So two builds, on the same system, won't result in the same byte code.

Also, build stamps like time, PID, path etc.

Re:What is Nix and why you should try it by taktoa on Sunday October 15, 2017 @06:45PM (#15479763)
Nix already does binary substitution. It just has the assumption baked in that builds don't do anything nondeterministic (and the Nix build sandbox removes a lot, but not all, of those opportunities; the ones remaining are things like threads, hence the slowdown).