summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal7
1 files changed, 6 insertions, 1 deletions
diff --git a/gf.cabal b/gf.cabal
index cf36106a3..3e823f26e 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -159,7 +159,12 @@ Executable gf
--if flag(new-comp)
-- cpp-options: -DNEW_COMP
- build-tools: happy, alex>=3
+ build-tools: happy
+
+ if impl(ghc>=7.8)
+ build-tools: happy>=1.19, alex>=3.1
+ else
+ build-tools: happy, alex>=3
if os(windows)
build-depends: Win32