From 16b9fd71f9a2b7bdde243d2b1afad694f3e58559 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 20 Mar 2015 11:37:06 +0100 Subject: [PATCH] haskell-ansi-wl-pprint: fix the build with ghc-7.10.x --- .../haskell-modules/configuration-ghc-7.10.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix index a70597e6ee52..34204d6462f4 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -125,4 +125,10 @@ self: super: { sha256 = "1fycvjfr1l9wa03k30bnppl3ns99lffh9kmp9r7sr8b6yiydcajq"; stripLen = 1; }); + + # https://github.com/batterseapower/ansi-wl-pprint/issues/13 + ansi-wl-pprint = appendPatch super.ansi-wl-pprint (pkgs.fetchpatch { + url = "https://github.com/hvr/ansi-wl-pprint/commit/7e489ea6b546899074b1cdccf37d2e49ab313098.patch"; + sha256 = "111aasm6pb55prldzwzgfffd5zz1npl7akdzcwh2hsri865i1806"; + }); }