servant-auth-swagger: Excluding building against GHC 9.0

(need base > 4.15 but swagger exclude it)
This commit is contained in:
akhesacaro 2021-10-26 19:00:18 +02:00
parent 95033be30f
commit e05826a799

View file

@ -15,7 +15,7 @@ maintainer: jkarni@gmail.com
copyright: (c) Julian K. Arni copyright: (c) Julian K. Arni
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
build-type: Simple build-type: Simple
cabal-version: >= 1.10 cabal-version: >= 1.10
extra-source-files: extra-source-files:
@ -38,6 +38,8 @@ library
, servant >= 0.13 && < 0.19 , servant >= 0.13 && < 0.19
, servant-auth == 0.4.* , servant-auth == 0.4.*
, lens >= 4.16.1 && < 5.1 , lens >= 4.16.1 && < 5.1
if impl(ghc >= 9)
buildable: False
exposed-modules: exposed-modules:
Servant.Auth.Swagger Servant.Auth.Swagger
default-language: Haskell2010 default-language: Haskell2010
@ -59,6 +61,8 @@ test-suite spec
, servant , servant
, servant-auth , servant-auth
, lens , lens
if impl(ghc >= 9)
buildable: False
-- test dependencies -- test dependencies
build-depends: build-depends: