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:
parent
b96edd41a5
commit
843aee694d
@ -59,9 +59,7 @@ self: super: {
|
|||||||
ChasingBottoms = dontHaddock super.ChasingBottoms;
|
ChasingBottoms = dontHaddock super.ChasingBottoms;
|
||||||
|
|
||||||
# https://github.com/glguy/utf8-string/issues/9
|
# https://github.com/glguy/utf8-string/issues/9
|
||||||
utf8-string = overrideCabal super.utf8-string (drv: {
|
utf8-string = appendConfigureFlag super.utf8-string "--ghc-option=-XUndecidableInstances";
|
||||||
patchPhase = "sed -ir -e 's|Extensions: | Extensions: UndecidableInstances, |' utf8-string.cabal";
|
|
||||||
});
|
|
||||||
|
|
||||||
# https://github.com/haskell/HTTP/issues/80
|
# https://github.com/haskell/HTTP/issues/80
|
||||||
HTTP = doJailbreak super.HTTP;
|
HTTP = doJailbreak super.HTTP;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user