happy-1.19.2: remove import of "Data.Monoid (<>)" from Setup.lhs to fix build with GHC 7.2.2

This patch works around <https://github.com/simonmar/happy/issues/16>.
This commit is contained in:
Peter Simons 2014-01-09 10:57:30 +01:00
parent cb3c13b436
commit ed3ca23cb1

View File

@ -8,6 +8,7 @@ cabal.mkDerivation (self: {
isExecutable = true;
buildDepends = [ mtl ];
buildTools = [ perl ];
patchPhase = "sed -i -e '/^import Data.Monoid/d' Setup.lhs";
meta = {
homepage = "http://www.haskell.org/happy/";
description = "Happy is a parser generator for Haskell";