diff --git a/cabal.project b/cabal.project index 4d19f787..3d83025a 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 06bdc5c8..ac44658b 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 dcbb95ba..a140cbff 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