diff options
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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 764064ae903e..bc558a7821e5 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix @@ -59,7 +59,10 @@ self: super: { ChasingBottoms = dontHaddock super.ChasingBottoms; # https://github.com/glguy/utf8-string/issues/9 - utf8-string = appendConfigureFlag super.utf8-string "--ghc-option=-XUndecidableInstances"; + utf8-string = overrideCabal super.utf8-string (drv: { + configureFlags = drv.configureFlags or [] ++ ["-f-bytestring-in-base" "--ghc-option=-XUndecidableInstances"]; + preConfigure = "sed -i -e 's|base >= .* < .*,|base,|' utf8-string.cabal"; + }); # https://github.com/haskell/HTTP/issues/80 HTTP = doJailbreak super.HTTP; |