From 9c18ab285cd2221a50950c796456929019f5fb2a Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Thu, 23 Nov 2023 02:47:02 +0400 Subject: [PATCH] module: set proper PYTHONPATH for huey with selfprivacy_api --- nixos/module.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/module.nix b/nixos/module.nix index 90fff8b..628e5c2 100644 --- a/nixos/module.nix +++ b/nixos/module.nix @@ -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/"