From 196420387de80f050324a19d3db7fb9de1c64fbb Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 2 Nov 2025 22:21:01 +0100 Subject: [PATCH] haskellPackages.dom-parser: fix build with text >= 2.1.2 --- .../development/haskell-modules/configuration-common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1523e9b8f699..88b27c07d28c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1637,6 +1637,15 @@ with haskellLib; unmarkBroken ]; + # Unreleased patch fixing compilation with text >= 2.1.2 + dom-parser = appendPatches [ + (pkgs.fetchpatch { + name = "dom-parser-text-2.1.2.patch"; + url = "https://github.com/typeable/dom-parser/commit/b8d9af75595072026a1706e94750dba55e65326b.patch"; + hash = "sha256-c7ea0YCtXhv4u+pTuxcWoISa+yV2oEtxS/RmC6Bbx1M="; + }) + ] super.dom-parser; + # Requires jsaddle-webkit2gtk to build outside of pkgsCross.ghcjs # which requires a version of libsoup that's marked as insecure reflex-dom = dontDistribute super.reflex-dom;