[Nix-dev] Fwd: Hotfixing glibc
Herwig Hochleitner
hhochleitner at gmail.com
Wed Feb 17 18:50:53 CET 2016
Arr, nix' ML configuration
---------- Forwarded message ----------
From: Herwig Hochleitner <hhochleitner at gmail.com>
Date: 2016-02-17 18:49 GMT+01:00
Subject: Re: [Nix-dev] Hotfixing glibc
To: Shea Levy <shea at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160217/f7fc85bb/attachment-0001.html
More information about the nix-dev
mailing list