[Nix-dev] Inexplicable replaceRuntimeDependencies assertion failure

Vladimír Čunát vcunat at gmail.com
Sun Dec 4 11:54:40 CET 2016


I forgot to explain this one:

On 12/04/2016 01:43 AM, Mark Laws wrote:
> 2) Why does the assertion even exist?

It rewrites string references in any binaries that reference the
packages being replaced. That is slightly fragile by itself, and if it
changed the *lengths* of those strings, shifting addresses of many
places in the binary, it would very likely break something.

--Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161204/f30f9434/attachment-0001.p7s>


More information about the nix-dev mailing list