[Nix-dev] Inexplicable replaceRuntimeDependencies assertion failure

Mark Laws mdl at 60hz.org
Sun Dec 4 20:48:56 CET 2016


On Sun, Dec 4, 2016 at 7:54 PM, Vladimír Čunát <vcunat at gmail.com> wrote:
> I don't understand what you're trying to accomplish, as mandb *is* the
> default man provider already, both on unstable/master and 16.09.

I didn't even realize it had been changed between 16.03 and 16.09!
Well, that solves this particular issue, but were this not the case,
how could I go about solving it?

> 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.

Ah. That makes sense--I didn't know it rewrote strings in binaries.

Thanks,
Mark Laws

-- 
|v\ /\ |\ |< |_ /\ \^| //


More information about the nix-dev mailing list