haskell-utf8-string: fix build with ghc 6.12.x

The "sed" command stopped working recently. I have no idea why, but the
new patch is simpler anyway.
This commit is contained in:
Peter Simons 2015-01-22 22:59:40 +01:00
parent b96edd41a5
commit 843aee694d

View File

@ -59,9 +59,7 @@ self: super: {
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";
});
utf8-string = appendConfigureFlag super.utf8-string "--ghc-option=-XUndecidableInstances";
# https://github.com/haskell/HTTP/issues/80
HTTP = doJailbreak super.HTTP;