Cyril Roelandt <[email protected]> skribis:
> On 11/18/2015 10:22 PM, Ludovic Courtès wrote:
>> Could you double-check what’s happening, possibly running it through
>> strace to see if it’s actually executing /usr/bin/python?
>
> I'm pretty sure it does that. It even loads libraries from the Debian
> Python path, that is why it tries to import a Debian-specific module.
I tried this:
guix environment --container --ad-hoc weechat strace coreutils \
findutils sed grep less --expose=$(which false)=/usr/bin/python
which installs ‘false’ as /usr/bin/python, but it still works fine.
Felipe, could you report the values of the ‘PYTHONPATH’, ‘PATH’, and
‘LD_LIBRARY_PATH’ variables on your system?
Are you able to work around the problem with:
guix environment --ad-hoc weechat --pure -- weechat
?
TIA,
Ludo’.