summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-09-18 18:55:14 +0200
committerlassulus <lass@blue.r>2018-09-18 20:16:39 +0200
commit6501dffc5ba7b53c838b5d64fae152631d510907 (patch)
treec2987dfa480b3cd31a91139c44cb87e01da30ffc
parentd349e0a03e42b23dd37141b892f645c157255724 (diff)
Reaktor: set PYTHONPATH (to fix caps)
-rw-r--r--krebs/3modules/Reaktor.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/Reaktor.nix b/krebs/3modules/Reaktor.nix
index 99a7a55ef..677b6f7b8 100644
--- a/krebs/3modules/Reaktor.nix
+++ b/krebs/3modules/Reaktor.nix
@@ -122,6 +122,7 @@ let
wantedBy = [ "multi-user.target" ];
environment = {
GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
+ PYTHONPATH = "${pkgs.Reaktor}/lib/python3.6/site-packages";
REAKTOR_NICKNAME = botcfg.nickname;
REAKTOR_DEBUG = (if botcfg.debug then "True" else "False");
REAKTOR_CHANNELS = lib.concatStringsSep "," botcfg.channels;