Skip to content

Commit 272b8f9

Browse files
haskell.packages.ghc912.xml-conduit: fix test suite with GHC 9.12
1 parent cc0105e commit 272b8f9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkgs/development/haskell-modules/configuration-common.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,14 @@ self: super:
703703
# https://github.com/alphaHeavy/lzma-conduit/issues/23
704704
lzma-conduit = doJailbreak super.lzma-conduit;
705705

706+
# doctest suite needs adjustment with GHC 9.12
707+
xml-conduit = appendPatch (pkgs.fetchpatch {
708+
name = "xml-conduit-ghc-9.12.patch";
709+
url = "https://github.com/snoyberg/xml/commit/73ce67029c61decaa6525536377a15581325fd9e.patch";
710+
sha256 = "1gvdhwz7f6rw28xqm82h1kx2kwbdvigipfcb0y66520lvd544sm6";
711+
stripLen = 1;
712+
}) super.xml-conduit;
713+
706714
# 2020-06-05: HACK: does not pass own build suite - `dontCheck`
707715
# 2024-01-15: too strict bound on free < 5.2
708716
hnix = doJailbreak (

0 commit comments

Comments
 (0)