From 3512f5b7075c11a3ac24b03b58b45b334a7d2f1b Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 21 Mar 2022 17:16:49 +0000 Subject: [PATCH] mailman-web: fix django version check removal Recent versions had increased the amount of indentation, which stopped this applying. The next version will also change the case, so I've adjusted in advance for that too. --- pkgs/servers/mail/mailman/web.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/mail/mailman/web.nix b/pkgs/servers/mail/mailman/web.nix index c517cb3e4e30..adad9d219433 100644 --- a/pkgs/servers/mail/mailman/web.nix +++ b/pkgs/servers/mail/mailman/web.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { # Django is depended on transitively by hyperkitty and postorius, # and mailman_web has overly restrictive version bounds on it, so # let's remove it. - sed -i '/^ Django/d' setup.cfg + sed -i '/^[[:space:]]*django/Id' setup.cfg # Upstream seems to mostly target installing on top of existing # distributions, and uses a path appropriate for that, but we are