update module

This commit is contained in:
Jonas Heinrich 2025-08-19 10:23:17 +02:00
parent 65b556d858
commit 5fc5c123ff
4 changed files with 15 additions and 10 deletions

View file

@ -44,11 +44,11 @@ in
"no-orphans" = true;
# Pass environment to the app
env = {
PYTHONPATH = "${pkgs.fragify.pythonPath}";
FRAGIFY_TEMPLATES_DIR = "${pkgs.fragify}/share/fragify/templates";
FRAGIFY_STATIC_DIR = "${pkgs.fragify}/share/fragify/assets";
};
# Python deps for the embedded interpreter
pythonPackages = p: with p; [ falcon requests jinja2 ];
# Python deps for the embedded interpreter moved to PYTHONPATH in env
# Extra raw uWSGI settings not covered by module options
settings = {
"static-map" = "/static=${pkgs.fragify}/share/fragify/assets";