module: set proper PYTHONPATH for huey with selfprivacy_api

This commit is contained in:
Alexander Tomokhov 2023-11-23 02:47:02 +04:00
parent d020820d26
commit 9c18ab285c
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ in
PYTHONUNBUFFERED = "1";
ENABLE_SWAGGER = (if cfg.enableSwagger then "1" else "0");
B2_BUCKET = cfg.b2Bucket;
PYTHONPATH =
pkgs.python310Packages.makePythonPath [ selfprivacy-graphql-api ];
} // config.networking.proxy.envVars;
path = [
"/var/"