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

View file

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