update module
This commit is contained in:
parent
65b556d858
commit
5fc5c123ff
4 changed files with 15 additions and 10 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue