On Sun, Feb 13, 2022 at 8:00 AM Daniel Meißner <daniel.meissner-...@ruhr-uni-bochum.de> wrote: > after setting GUIX_PYTHONPATH I was able to get the cli working
Thanks for investigating. I had missed that environment variable, and it looks like python-wrapper adds it to Guix's .profile. With the proper environment variable and no python-wrapper, the program works fine. > This means the package needs a fix. We could either patch the scripts > ... > or maybe we could use the wrap-program procedure to wrap it with > GUIX_PYTHONPATH set correctly. I took a look at the changes in 39510d5a5e4e0e38cd3d3bc944d5bf6d96242493, wrap-python3 in (gnu packages python.scm), and the Python build system. There may be other source code which answers my question, but: Did that version-bumping commit break trash-cli with the version upgrade or with the new phase? Does wrap-python3 write environment variables to my Guix profile somehow, or does it just update what the wrapped package outputs?