haskell-utf8-string: patch to fix build with GHC 6.12.x

https://github.com/glguy/utf8-string/issues/9
This commit is contained in:
Peter Simons 2014-06-05 11:53:35 +02:00
parent 0e3dfb5c71
commit 1304beac01

View File

@ -4,6 +4,10 @@ cabal.mkDerivation (self: {
pname = "utf8-string";
version = "0.3.8";
sha256 = "1h29dn0scsfkhmkg14ywq9178lw40ah1r36w249zfzqr02y7qxc0";
noHaddock = self.stdenv.lib.versionOlder self.ghc.version "6.11";
patchPhase = ''
sed -ir -e 's|Extensions: | Extensions: UndecidableInstances, |' utf8-string.cabal
'';
meta = {
homepage = "http://github.com/glguy/utf8-string/";
description = "Support for reading and writing UTF8 Strings";