HackerTrans
TopNewTrendsCommentsPastAskShowJobs

edolstra

no profile record

comments

edolstra
·7 mesi fa·discuss
Indeed. Nixpkgs wouldn't have been as successful if it hadn't been using Git (or GitHub).

Sure, eventually you run into scaling issues, but that's a first world problem.
edolstra
·8 mesi fa·discuss
It wasn't always that way. When I began studying CS at Utrecht University, there was no Windows at all. It was Solaris, IRIX and a bit of HP-UX.
edolstra
·9 mesi fa·discuss
To be clear, there is no bug here: derivers are simply not uniquely determined in the presence of fixed-output derivations, which is by design. That's even more true with CA derivations.

CA derivations also introduce the opposite situation, namely that the same derivation can produce different output paths for different users (if the build is not bitwise reproducible).
edolstra
·9 mesi fa·discuss
The deriver field in Nix has always been a misfeature. It was intended to provide traceability back to the Nix expression used to create the derivation, but it doesn't actually do that (since that wasn't really possible in the pre-flakes world, without hermetic evaluation). So instead it just causes a lot of confusion when the deriver recorded in the binary cache doesn't match the local evaluation result, due to fixed-output derivations changing.

In the future, Nix will hopefully gain proper provenance tracking that will tell you exactly where a store path came from: https://github.com/NixOS/nix/pull/11749