Fetch dependencies? Aaaaaah!
Fetch dependencies? Aaaaaah!
Posted Sep 14, 2021 11:07 UTC (Tue) by karkhaz (subscriber, #99844)In reply to: Fetch dependencies? Aaaaaah! by nix
Parent article: Cro: Maintain it With Zig
However, I think the point still remains. Sure, there's a difference between the configure and build stage from an upstream perspective, but all of that is part of the "build" stage for a package manager. In particular, the Arch build system has a means to automatically check the hashes of all of the package sources that are declared in the "sources" array, before doing anything else. Obtaining source files later in the build process breaks reproducible builds and all the guarantees you get from that. Maybe the autogen script checks those hashes itself, and maybe it doesn't, but sidechaining the OS's own validation mechanisms doesn't really bode well.
