From 3603c4e16353d10771a0c973f71a95345ee33156 Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Sat, 11 Apr 2020 12:00:00 +0000 Subject: [PATCH] nixos/ihatemoney: work around bug in uwsgi happens when dowbloading csv reports --- nixos/modules/services/web-apps/ihatemoney/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/services/web-apps/ihatemoney/default.nix b/nixos/modules/services/web-apps/ihatemoney/default.nix index 68769ac8c031..b7c646df238f 100644 --- a/nixos/modules/services/web-apps/ihatemoney/default.nix +++ b/nixos/modules/services/web-apps/ihatemoney/default.nix @@ -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; }; };