From 70aa779445ba91cf2bebb0488867587558e66c29 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 10 Mar 2018 13:13:05 +0100 Subject: [PATCH] haskell-doctemplate: apply upstream patch to fix the build with ghc 8.4.x --- pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix index 32cecf134f9..5114708b6d2 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix @@ -779,7 +779,10 @@ self: super: { tree-diff = doJailbreak super.tree-diff; # https://github.com/jgm/doctemplates/issues/2 - doctemplates = markBrokenVersion "0.2.1" super.doctemplates; + doctemplates = appendPatch super.doctemplates (pkgs.fetchpatch + { url = https://github.com/jgm/doctemplates/commit/3f8bb8feb19ed86b881bc09d963026db9d98df21.patch; + sha256 = "0xmjljh8c90qlzp6wn39iy23pj2j0d4m4r1hxs22zps6qdwk5s6d"; + }); # https://github.com/bitemyapp/esqueleto/issues/77 esqueleto = markBrokenVersion "2.5.3" super.esqueleto;