summary refs log tree commit diff
path: root/pkgs/servers/isso/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/isso/default.nix')
-rw-r--r--pkgs/servers/isso/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/servers/isso/default.nix b/pkgs/servers/isso/default.nix
index 00432ab5fc6..735db1f0b43 100644
--- a/pkgs/servers/isso/default.nix
+++ b/pkgs/servers/isso/default.nix
@@ -23,6 +23,12 @@ buildPythonApplication rec {
     "doc"
   ];
 
+  postPatch = ''
+    # Remove when https://github.com/posativ/isso/pull/973 is available.
+    substituteInPlace isso/tests/test_comments.py \
+      --replace "self.client.delete_cookie('localhost.local', '1')" "self.client.delete_cookie(key='1', domain='localhost')"
+  '';
+
   propagatedBuildInputs = [
     itsdangerous
     jinja2