nixpkgs/pkgs/applications/networking/instant-messengers/weechat-xmpp/libpath.patch
2017-10-14 11:48:39 +02:00

17 lines
254 B
Diff

diff --git a/jabber.py b/jabber.py
index 27006a3..e53c2c0 100644
--- a/jabber.py
+++ b/jabber.py
@@ -95,6 +95,11 @@ SCRIPT_COMMAND = SCRIPT_NAME
import re
import warnings
+import sys
+
+sys.path.append('__NIX_OUTPUT__')
+
+
import_ok = True
try: