about summary refs log tree commit diff
path: root/overlays/patches/mailman/web.nix
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/patches/mailman/web.nix')
-rw-r--r--overlays/patches/mailman/web.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/overlays/patches/mailman/web.nix b/overlays/patches/mailman/web.nix
new file mode 100644
index 000000000000..8f08c0e6b345
--- /dev/null
+++ b/overlays/patches/mailman/web.nix
@@ -0,0 +1,7 @@
+{ web, ... } @ args:
+
+(web.overrideAttrs ({ postPatch ? "", ... }: {
+  postPatch = postPatch + ''
+    substituteInPlace mailman_web/urls.py --replace ^archives/ ^hyperkitty/
+  '';
+})).override (builtins.removeAttrs args [ "web" ])