宋文武 skribis: > Currently, search-paths built only from packages in user's profile. > As reported by Andy Wingo in #guix, when I have: > perl installed into system profile > perl-xml-parser installed into user profile > > guix package --search-paths won't give a hint about PERL5LIB, > so it's very likely end up with a broken XML::Parser. Rather it ends up with no XML::Parser, no? That said, I’m not sure how this could be improved. We could hard-code lookup in /run/current-system/profile/. OTOH that’s not different from installing perl in one profile, and perl-xml-parser in another (arbitrary) profile, which ‘guix package’ cannot be aware of. WDYT? > Another interesting fact is that we have both guile and guix in > system profile, but the guix modules isn't work out-of-the-box > on GuixSD. (But guix.el *does* work out of the box.) For a start, what about augmenting /etc/profile: