From 3dae2156678d71c83253747928b95ebac3dd1b7c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 17 Jan 2015 13:52:13 +0100 Subject: [PATCH] haskell-utf8-string: fix build on GHC 6.12.x --- .../development/haskell-modules/configuration-ghc-6.12.x.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix index 59280505fb6..6641b27f0fd 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix @@ -57,4 +57,9 @@ self: super: { # Haddock chokes on the prologue from the cabal file. ChasingBottoms = dontHaddock super.ChasingBottoms; + # https://github.com/glguy/utf8-string/issues/9 + utf8-string = overrideCabal super.utf8-string (drv: { + patchPhase = "sed -ir -e 's|Extensions: | Extensions: UndecidableInstances, |' utf8-string.cabal"; + }); + }