From 4751f8141abebfc4a66ac8b43174590fdcd8aa2b Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 16 Oct 2025 21:46:41 +0200 Subject: [PATCH] haskellPackages.pandoc: update test fixture for djot >= 0.1.2.3 --- .../haskell-modules/configuration-common.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 102c5f4b74ba4..f39a6328f27ba 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -852,6 +852,16 @@ with haskellLib; )) ]; + pandoc = appendPatches [ + # Adjust text fixtures for djot >= 0.1.2.3, patch extracted from unrelated change. + (pkgs.fetchpatch { + name = "pandoc-djot-0.1.2.3.patch"; + url = "https://github.com/jgm/pandoc/commit/643712ca70b924c0edcc059699aa1ee42234be34.patch"; + hash = "sha256-khDkb1PzC0fTaWTq3T04UvgoI+XefOJMaTV1d3Du8BU="; + includes = [ "test/djot-reader.native" ]; + }) + ] super.pandoc; + # Too strict bounds on QuickCheck (<2.15), containers (<0.7), hashable (<1.5), pandoc (<3.7) # https://github.com/jaspervdj/patat/issues/194 patat = doJailbreak super.patat;