From e05826a7992f34d67898e03cc33788747dfa482d Mon Sep 17 00:00:00 2001 From: akhesacaro Date: Tue, 26 Oct 2021 19:00:18 +0200 Subject: [PATCH] servant-auth-swagger: Excluding building against GHC 9.0 (need base > 4.15 but swagger exclude it) --- .../servant-auth-swagger/servant-auth-swagger.cabal | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/servant-auth/servant-auth-swagger/servant-auth-swagger.cabal b/servant-auth/servant-auth-swagger/servant-auth-swagger.cabal index fbfa2b8b..07cd22c0 100644 --- a/servant-auth/servant-auth-swagger/servant-auth-swagger.cabal +++ b/servant-auth/servant-auth-swagger/servant-auth-swagger.cabal @@ -15,7 +15,7 @@ maintainer: jkarni@gmail.com 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: @@ -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 @@ -59,7 +61,9 @@ test-suite spec , servant , servant-auth , lens - + if impl(ghc >= 9) + buildable: False + -- test dependencies build-depends: servant-auth-swagger