From 13d4e84bff5db6f0dddd0eb42153723029593ae3 Mon Sep 17 00:00:00 2001 From: akhesaCaro Date: Sun, 11 Apr 2021 17:30:03 +0200 Subject: [PATCH] enabling jwt-and-basic-auth coobook --- cabal.project | 2 +- .../hoist-server-with-context/hoist-server-with-context.cabal | 4 +++- doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cabal.project b/cabal.project index 4d19f7872..3d83025a1 100644 --- a/cabal.project +++ b/cabal.project @@ -31,7 +31,7 @@ packages: doc/cookbook/generic -- doc/cookbook/hoist-server-with-context doc/cookbook/https - -- doc/cookbook/jwt-and-basic-auth/ + doc/cookbook/jwt-and-basic-auth/ doc/cookbook/pagination -- doc/cookbook/sentry -- Commented out because servant-quickcheck currently doesn't build. diff --git a/doc/cookbook/hoist-server-with-context/hoist-server-with-context.cabal b/doc/cookbook/hoist-server-with-context/hoist-server-with-context.cabal index 06bdc5c83..ac44658b5 100644 --- a/doc/cookbook/hoist-server-with-context/hoist-server-with-context.cabal +++ b/doc/cookbook/hoist-server-with-context/hoist-server-with-context.cabal @@ -24,7 +24,7 @@ executable cookbook-hoist-server-with-context , servant , servant-server , servant-auth >= 0.3.2 - , servant-auth-server + , servant-auth-server >= 0.4.4.0 , time , warp >= 3.2 , wai >= 3.2 @@ -32,6 +32,8 @@ executable cookbook-hoist-server-with-context , http-types >= 0.12 , bytestring >= 0.10.4 , mtl + if impl(ghc < 8.2.1) + buildable: False default-language: Haskell2010 ghc-options: -Wall -pgmL markdown-unlit build-tool-depends: markdown-unlit:markdown-unlit diff --git a/doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal b/doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal index dcbb95bac..a140cbff0 100644 --- a/doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal +++ b/doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal @@ -23,7 +23,7 @@ executable cookbook-jwt-and-basic-auth , servant-client , servant-server , servant-auth ==0.3.* - , servant-auth-server >= 0.3.1.0 + , servant-auth-server >= 0.4.4.0 , warp >= 3.2 , wai >= 3.2 , http-types >= 0.12