1
0
forked from GitHub/gf-core

Restore build with ghc-7.10.3

This commit is contained in:
Andreas Källberg
2022-10-04 13:05:57 +02:00
parent fef03e755b
commit 51b7117a3d
2 changed files with 5 additions and 1 deletions

View File

@@ -81,7 +81,9 @@ library
mtl >= 2.2.1 && < 2.3,
pretty >= 1.1.3 && < 1.2,
random >= 1.1 && < 1.3,
utf8-string >= 1.0.1.1 && < 1.1
utf8-string >= 1.0.1.1 && < 1.1,
-- We need this in order for ghc-7.10 to build
transformers-compat >= 0.6.3 && < 0.7
if impl(ghc<8.0)
build-depends:

View File

@@ -38,6 +38,8 @@ import GF.Server(server)
#endif
import GF.Command.Messages(welcome)
-- Needed to make it compile on GHC < 8
import Control.Monad.Trans.Instances ()
-- | Run the GF Shell in quiet mode (@gf -run@).
mainRunGFI :: Options -> [FilePath] -> IO ()