summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-04-09 14:49:23 -0400
committerCharles Strahan <charles.c.strahan@gmail.com>2015-04-09 15:02:16 -0400
commitf415ce2953f8163d4428dd003b9e11d1b4c87e23 (patch)
treed1c8d391ef1c2d5a3e05056356240a4dc68a36f8 /pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
parent5aa9b72400961b8802deca7ddff15065022259bc (diff)
downloadnixpkgs-f415ce2953f8163d4428dd003b9e11d1b4c87e23.tar
nixpkgs-f415ce2953f8163d4428dd003b9e11d1b4c87e23.tar.gz
nixpkgs-f415ce2953f8163d4428dd003b9e11d1b4c87e23.tar.bz2
nixpkgs-f415ce2953f8163d4428dd003b9e11d1b4c87e23.tar.lz
nixpkgs-f415ce2953f8163d4428dd003b9e11d1b4c87e23.tar.xz
nixpkgs-f415ce2953f8163d4428dd003b9e11d1b4c87e23.tar.zst
nixpkgs-f415ce2953f8163d4428dd003b9e11d1b4c87e23.zip
haskell: bring back wl-pprint patch
partially reverts 5742215
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix5
1 files changed, 5 insertions, 0 deletions
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;