Arr, nix' ML configuration ---------- Forwarded message ---------- From: Herwig Hochleitner <hhochleit...@gmail.com> Date: 2016-02-17 18:49 GMT+01:00 Subject: Re: [Nix-dev] Hotfixing glibc To: Shea Levy <s...@shealevy.com>
Neat! How does that work in the end? It can only really replace the bad glibc too, the same way an non-reproducible build might, right? Or does it actually go into dependents and update references? No can't, because conservative gc, right? <second message> Oh, it actually rewrites hashes in the dependents: https://github.com/NixOS/nixpkgs/blob/15aa139a1a131b3e34a0b49425d87cffbf93d905/pkgs/build-support/replace-dependency.nix#L64 So I guess, it's a case of "works well enough in practice", which seems plausible for things like glibc, that should only ever show up in RPATH But replaceDependency would be a bad solution for packages, that stored dependency pathes compressed somewhere (maybe exposing a plain .deps, for nix), right?
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev