summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
authorThomas Hallgren <th-github@altocumulus.org>2019-01-16 14:42:34 +0100
committerThomas Hallgren <th-github@altocumulus.org>2019-01-16 14:42:34 +0100
commit5fe963dd023c59d3084262bb17f8b53b093aa1ed (patch)
treeca47a754e881c5b963bea3f2c7aa1a21a634c374 /gf.cabal
parentf32d222e7120b2cdbcf7959f2230d01588ee1aa0 (diff)
Fix compilation with ghc-7.10
NoMonadFailDesugaring is not supported by ghc-7.10, but it is only needed with ghc>=8.6
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/gf.cabal b/gf.cabal
index 28aa82f99..acd169aaf 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -97,8 +97,8 @@ Library
--if impl(ghc>=7.8)
-- ghc-options: +RTS -A20M -RTS
ghc-prof-options: -fprof-auto
- extensions:
- NoMonadFailDesugaring
+ if impl(ghc>=8.6)
+ Default-extensions: NoMonadFailDesugaring
exposed-modules:
PGF