From f415ce2953f8163d4428dd003b9e11d1b4c87e23 Mon Sep 17 00:00:00 2001 From: Charles Strahan Date: Thu, 9 Apr 2015 14:49:23 -0400 Subject: [PATCH] haskell: bring back wl-pprint patch partially reverts 5742215 --- .../development/haskell-modules/configuration-ghc-7.10.x.nix | 5 +++++ 1 file changed, 5 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 2e47f5c25ce..fc4e365068b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix @@ -226,6 +226,11 @@ self: super: { sha256 = "1lwwvxyhxcmppdapbgpfhwi7xc2z78qir03xjrpzab79p2qyq7br"; }); + wl-pprint = overrideCabal super.wl-pprint (drv: { + postPatch = "sed -i '113iimport Prelude hiding ((<$>))' Text/PrettyPrint/Leijen.hs"; + jailbreak = true; + }); + # https://github.com/kazu-yamamoto/unix-time/issues/30 unix-time = dontCheck super.unix-time;