Andy Wingo <wi...@pobox.com> skribis: > On Sun 25 Sep 2016 21:22, Jan Nieuwenhuizen <jann...@gnu.org> writes: > >> ld-wrapper: error: attempt to use impure library >> "/home/janneke/guile-2.1.4/lib/libguile-2.2.so" >> collect2: error: ld returned 1 exit status >> libtool: error: error: relink 'guile-readline.la' with the above >> command before installing it > > This is because Guix is silly and thinks that even when you are > installing to /rando/prefix/that/you/like that it's bad to link to > thinks outside /gnu/store. > > The workaround is to export GUIX_LD_WRAPPER_ALLOW_IMPURITIES=yesplease. > (Actually any value.) > > The real fix is to prevent ld-wrapper from carping for normal installs > to non-store prefixen!
Do you mean we should change the default? That is, GUIX_LD_WRAPPER_ALLOW_IMPURITIES=yes by default, and gnu-build-system would set it to “no”. Ludo’.