From 61f0a06096cc05ebc008db7e4647390f9a066a44 Mon Sep 17 00:00:00 2001 From: Danny Navarro Date: Sun, 27 Nov 2016 12:38:31 -0300 Subject: Drop support for GHC-7.8.4 --- graphql.cabal | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'graphql.cabal') diff --git a/graphql.cabal b/graphql.cabal index 86eec78..b73e259 100644 --- a/graphql.cabal +++ b/graphql.cabal @@ -14,7 +14,7 @@ copyright: Copyright (C) 2015-2016 J. Daniel Navarro category: Web build-type: Simple cabal-version: >=1.10 -tested-with: GHC == 7.8.4, GHC == 7.10.3 +tested-with: GHC == 7.10.3, GHC==8.0.1 extra-source-files: README.md CHANGELOG.md stack.yaml docs/tutorial/tutorial.lhs data-files: tests/data/*.graphql @@ -35,6 +35,11 @@ library base >= 4.7 && < 5, text >= 0.11.3.1, unordered-containers >= 0.2.5.0 + if impl(ghc >= 8.0) + ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances + else + -- provide/emulate `Control.Monad.Fail` and `Data.Semigroups` API for pre-GHC8 + build-depends: fail == 4.9.*, semigroups == 0.18.* test-suite tasty default-language: Haskell2010 -- cgit v1.2.3