Support GHC 7.10
Megaparsec uses Data.List.NonEmpty, which appears in base for GHC >=
8.0, but which it pulls from semigroups for GHC 7.10 and below.
commita0e585bce6bffacdd3c41c8d15c15aaddd9954dd
authorJason Felice <jason.m.felice@gmail.com>
dateThu 2 Nov 2017, 10:49 (9 years ago)
parent295ce57
idris.cabal+3
@@ -309,6 +309,9 @@ Library
309309 , fsnotify >= 0.2 && < 2.2
310310 , async < 2.2
311311
312+ if !impl(ghc >= 8.0)
313+ Build-Depends: semigroups == 0.18.*
314+
312315 Default-Language: Haskell2010
313316 ghc-prof-options: -auto-all -caf-all
314317