From 5fe963dd023c59d3084262bb17f8b53b093aa1ed Mon Sep 17 00:00:00 2001 From: Thomas Hallgren Date: Wed, 16 Jan 2019 14:42:34 +0100 Subject: [PATCH] Fix compilation with ghc-7.10 NoMonadFailDesugaring is not supported by ghc-7.10, but it is only needed with ghc>=8.6 --- gf.cabal | 4 ++-- 1 file 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