Skip to content

Commit e05826a

Browse files
committed
servant-auth-swagger: Excluding building against GHC 9.0
(need base > 4.15 but swagger exclude it)
1 parent 95033be commit e05826a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

servant-auth/servant-auth-swagger/servant-auth-swagger.cabal

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ maintainer: [email protected]
1515
copyright: (c) Julian K. Arni
1616
license: BSD3
1717
license-file: LICENSE
18-
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1
18+
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
1919
build-type: Simple
2020
cabal-version: >= 1.10
2121
extra-source-files:
@@ -37,7 +37,9 @@ library
3737
, swagger2 >= 2.2.2 && < 2.7
3838
, servant >= 0.13 && < 0.19
3939
, servant-auth == 0.4.*
40-
, lens >= 4.16.1 && < 5.1
40+
, lens >= 4.16.1 && < 5.1
41+
if impl(ghc >= 9)
42+
buildable: False
4143
exposed-modules:
4244
Servant.Auth.Swagger
4345
default-language: Haskell2010
@@ -59,7 +61,9 @@ test-suite spec
5961
, servant
6062
, servant-auth
6163
, lens
62-
64+
if impl(ghc >= 9)
65+
buildable: False
66+
6367
-- test dependencies
6468
build-depends:
6569
servant-auth-swagger

0 commit comments

Comments
 (0)