Ways of reducing mass rebuilds in Nix without changing Nix

I wrote a blog article with the same title as this post.

5 Likes

Re: unlinked object files — I have thought about that for cutting LibreOffice into parts (and claiming it is exceptional, so a local refactoring, not Nixpkgs wide, makes sense for the largest packages), but another consideration is that the intermediate files, a lot of them, would get pushed to the binary cache. (Although for a global refactoring this will probably still be a reduction overall, for local experimentation it is not as clear)