haskell-utf8-string: fix build on GHC 6.12.x

This commit is contained in:
Peter Simons 2015-01-17 13:52:13 +01:00
parent a317a4ae11
commit 3dae215667

View File

@ -57,4 +57,9 @@ self: super: {
# Haddock chokes on the prologue from the cabal file. # Haddock chokes on the prologue from the cabal file.
ChasingBottoms = dontHaddock super.ChasingBottoms; 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";
});
} }