Skip to content

Commit

Permalink
servant-auth-swagger: Excluding building against GHC 9.0
Browse files Browse the repository at this point in the history
(need base > 4.15 but swagger exclude it)
  • Loading branch information
akhesaCaro committed Oct 27, 2021
1 parent 95033be commit e05826a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions servant-auth/servant-auth-swagger/servant-auth-swagger.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ maintainer: [email protected]
copyright: (c) Julian K. Arni
license: BSD3
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
cabal-version: >= 1.10
extra-source-files:
Expand All @@ -37,7 +37,9 @@ library
, swagger2 >= 2.2.2 && < 2.7
, servant >= 0.13 && < 0.19
, servant-auth == 0.4.*
, lens >= 4.16.1 && < 5.1
, lens >= 4.16.1 && < 5.1
if impl(ghc >= 9)
buildable: False
exposed-modules:
Servant.Auth.Swagger
default-language: Haskell2010
Expand All @@ -59,7 +61,9 @@ test-suite spec
, servant
, servant-auth
, lens

if impl(ghc >= 9)
buildable: False

-- test dependencies
build-depends:
servant-auth-swagger
Expand Down

0 comments on commit e05826a

Please sign in to comment.