nixpkgs/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix
Alyssa Ross cfa16434c2 weechatScripts.weechat-matrix: fix PYTHONPATH
matrix.py tries to import its dependencies, and its own code from
$out/${python.sitePackages}, and neither of these worked because
nothing was telling Python where to load that stuff from.

Using patchPythonScript made it so matrix.py could find its
dependencies, but it still wasn't able to find its own code, so that
had to be added to program_PYTHONPATH beforehand so patchPythonScript
would include it as well.

Fixes: https://github.com/NixOS/nixpkgs/issues/89499
2021-02-02 17:13:53 +00:00
..
default.nix weechatScripts.weechat-matrix: fix PYTHONPATH 2021-02-02 17:13:53 +00:00