1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

nixos/ihatemoney: work around bug in uwsgi

happens when dowbloading csv reports
This commit is contained in:
Symphorien Gibol 2020-04-11 12:00:00 +00:00
parent 0848c2f529
commit 3603c4e163

View file

@ -132,6 +132,9 @@ in
chdir = "${pkg}/${pkg.pythonModule.sitePackages}/ihatemoney";
env = [ "IHATEMONEY_SETTINGS_FILE_PATH=${configFile}" ];
pythonPackages = self: [ self.ihatemoney ];
# workaround for https://github.com/unbit/uwsgi/issues/1126
# probably fixed in uwsgi 2.0.19 https://github.com/unbit/uwsgi/commit/d0444450a195f218456a2149d9c2066afa0ae52a
wsgi-disable-file-wrapper = true;
} // cfg.uwsgiConfig;
};
};