nixos/paperless: use package.passthru.dependencies for PYTHONPATH

This commit is contained in:
kilyanni
2026-07-01 18:22:24 +02:00
committed by Sandro Jäckel
parent 5a9cb67b6e
commit 49951091aa
+1 -1
View File
@@ -621,7 +621,7 @@ in
PrivateNetwork = false;
};
environment = env // {
PYTHONPATH = "${cfg.package.python.pkgs.makePythonPath cfg.package.propagatedBuildInputs}:${cfg.package}/lib/paperless-ngx/src";
PYTHONPATH = "${cfg.package.python.pkgs.makePythonPath cfg.package.passthru.dependencies}:${cfg.package}/lib/paperless-ngx/src";
};
# Allow the web interface to access the private /tmp directory of the server.
# This is required to support uploading files via the web interface.