Konrad Hinsen <[email protected]> skribis:

> Ludovic Courtès writes:
>
>  > Ah yes, ahem, you also need this:
>  > 
>  >   export GUIX_LD_WRAPPER_ALLOW_IMPURITIES="yes, please"
>  > 
>  > I’m sorry this is so painful.  We need to come up with ways to simplify
>  > use of the tool chain installed via Guix.
>
> It seems that ld-wrapper considers my library impure because it is
> accessed through my home directory's link to my user
> profile. Shouldn't it be able to figure out that this is ultimately a
> file in the store, by following the symlinks?

Yes, probably (this is not a problem when it’s used in a build
environment, because everything is under /nix/store anyway.)

If you want to look into it yourself, see ld-wrapper.scm.

The thing is that changing that file entails a full rebuild, since it’s
a dependency for pretty much everything.  So we’d stage the change along
with other world-changing patches.

Thanks,
Ludo’.

Reply via email to