summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2024-06-20 02:03:32 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-21 14:28:56 +0000
commitef93d72a6a812ca472b4abcfe70639bf69002366 (patch)
treee18aa3710c6dd2037ed2b35242ba76d39d2a8605
parentMerge pull request #321466 from NixOS/backport-316410-to-release-24.05 (diff)
downloadnixpkgs-origin/backport-321136-to-release-24.05.tar.gz
mailmanPackages.python3: fix markdown supportorigin/backport-321136-to-release-24.05
Fixes the issue reported at https://gitlab.com/mailman/mailman/-/issues/1137. The readme-renderer package needs cmarkgfm for markdown support. Mailman's postorious needs this to render the info field of mailing lists. (cherry picked from commit 04952ac5c3b810ab89d4e332b4bc62997b161da0)
-rw-r--r--pkgs/servers/mail/mailman/python.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/mail/mailman/python.nix b/pkgs/servers/mail/mailman/python.nix
index 29d2f6c6d36a..933b8357a33d 100644
--- a/pkgs/servers/mail/mailman/python.nix
+++ b/pkgs/servers/mail/mailman/python.nix
@@ -28,6 +28,10 @@ python3.override {
hash = "sha256-WF3FFrnrBCphnvCjnD19Vf6BvbTfCaUsnN3g0Hvxqn0=";
};
});
+
+ readme-renderer = super.readme-renderer.overridePythonAttrs (_: {
+ propagatedBuildInputs = [ self.cmarkgfm ];
+ });
})
overlay;