BNFC: fix build with GHC 7.8.1
This commit is contained in:
parent
558eac3869
commit
284ea5859b
@ -1,4 +1,4 @@
|
|||||||
{ cabal, mtl, fetchurl }:
|
{ cabal, mtl, fetchurl, alex, happy }:
|
||||||
|
|
||||||
cabal.mkDerivation (self: {
|
cabal.mkDerivation (self: {
|
||||||
pname = "BNFC";
|
pname = "BNFC";
|
||||||
@ -7,8 +7,10 @@ cabal.mkDerivation (self: {
|
|||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
isExecutable = true;
|
isExecutable = true;
|
||||||
buildDepends = [ mtl ];
|
buildDepends = [ mtl ];
|
||||||
|
buildTools = [ alex happy ];
|
||||||
patches = [ (fetchurl { url = "https://github.com/BNFC/bnfc/pull/3.patch"; sha256 = "103l04ylzswgxrmpv5zy6dd0jyr96z21mdkpgk1z4prvn8wjl624"; }) ];
|
patches = [ (fetchurl { url = "https://github.com/BNFC/bnfc/pull/3.patch"; sha256 = "103l04ylzswgxrmpv5zy6dd0jyr96z21mdkpgk1z4prvn8wjl624"; }) ];
|
||||||
patchFlags = "-p2";
|
patchFlags = "-p2";
|
||||||
|
preConfigure = "runhaskell Setup.lhs clean";
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://bnfc.digitalgrammars.com/";
|
homepage = "http://bnfc.digitalgrammars.com/";
|
||||||
description = "A compiler front-end generator";
|
description = "A compiler front-end generator";
|
||||||
|
Loading…
Reference in New Issue
Block a user