diff options
| author | Danny Navarro <j@dannynavarro.net> | 2016-11-27 12:38:31 -0300 |
|---|---|---|
| committer | Danny Navarro <j@dannynavarro.net> | 2016-11-27 12:56:44 -0300 |
| commit | 61f0a06096cc05ebc008db7e4647390f9a066a44 (patch) | |
| tree | 2f0467c7ee66eeb7e2989033da8a404d41ef5227 /graphql.cabal | |
| parent | 2cc6b0005100b6f4406ccedbcb21dea7fba5175a (diff) | |
| download | graphql-61f0a06096cc05ebc008db7e4647390f9a066a44.tar.gz | |
Drop support for GHC-7.8.4
Diffstat (limited to 'graphql.cabal')
| -rw-r--r-- | graphql.cabal | 7 |
1 files changed, 6 insertions, 1 deletions
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 |
