File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
doc/cookbook/hoist-server-with-context Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
case " $( uname -s) " in
4
- Linux* ) sudo apt install postgresql;;
4
+ Linux* ) sudo apt install postgresql liblzma-dev ;;
5
5
Darwin* ) brew install postgresql openssl;;
6
6
esac
Original file line number Diff line number Diff line change 35
35
ghc-version : ${{ matrix.ghc }}
36
36
cabal-version : ' latest'
37
37
38
+ - name : Install system dependencies
39
+ run : |
40
+ ./.github/workflows/install-system-dependencies.sh
41
+
38
42
- name : Freeze
39
43
run : |
40
44
cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
49
53
key : ${{ runner.os }}-ghc-${{ matrix.ghc }}-cabal-${{ hashFiles('**/plan.json') }}
50
54
restore-keys : ${{ runner.os }}-ghc-${{ matrix.ghc }}-
51
55
52
- - name : Install system dependencies
53
- run : |
54
- ./.github/workflows/install-system-dependencies.sh
55
56
- name : Install doctest
56
57
run : |
57
58
cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.22'
Original file line number Diff line number Diff line change @@ -34,10 +34,9 @@ This recipe uses the following ingredients:
34
34
import Prelude ()
35
35
import Prelude.Compat
36
36
37
- import Control.Monad.IO.Class (liftIO)
38
37
import Control.Monad.Reader
39
38
import Data.Aeson
40
- import Data.Default
39
+ import Data.Default (def)
41
40
import Data.Proxy
42
41
import Data.Text
43
42
import Data.Time.Clock ( UTCTime, getCurrentTime )
@@ -48,7 +47,7 @@ import Network.Wai.Middleware.RequestLogger
48
47
import Network.Wai.Middleware.RequestLogger.JSON
49
48
import Servant as S
50
49
import Servant.Auth as SA
51
- import Servant.Auth.Server as SAS
50
+ import Servant.Auth.Server as SAS hiding (def)
52
51
import System.Log.FastLogger ( ToLogStr(..)
53
52
, LoggerSet
54
53
, defaultBufSize
You can’t perform that action at this time.
0 commit comments