https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
13 lines
236 B
Diff
13 lines
236 B
Diff
diff --git a/weechat_otr.py b/weechat_otr.py
|
|
index 0ccfb35..c42bebf 100644
|
|
--- a/weechat_otr.py
|
|
+++ b/weechat_otr.py
|
|
@@ -41,6 +41,8 @@ import shlex
|
|
import shutil
|
|
import sys
|
|
|
|
+sys.path.append('@env@')
|
|
+
|
|
import potr
|
|
import weechat
|
|
|