Skip to content

Commit cd7d93d

Browse files
authored
Fix CI (#1801)
* Install missing liblzma * Fix imports in cookbook
1 parent 1e6e566 commit cd7d93d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

33
case "$(uname -s)" in
4-
Linux*) sudo apt install postgresql;;
4+
Linux*) sudo apt install postgresql liblzma-dev;;
55
Darwin*) brew install postgresql openssl;;
66
esac

.github/workflows/master.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
ghc-version: ${{ matrix.ghc }}
3636
cabal-version: 'latest'
3737

38+
- name: Install system dependencies
39+
run: |
40+
./.github/workflows/install-system-dependencies.sh
41+
3842
- name: Freeze
3943
run: |
4044
cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
@@ -49,9 +53,6 @@ jobs:
4953
key: ${{ runner.os }}-ghc-${{ matrix.ghc }}-cabal-${{ hashFiles('**/plan.json') }}
5054
restore-keys: ${{ runner.os }}-ghc-${{ matrix.ghc }}-
5155

52-
- name: Install system dependencies
53-
run: |
54-
./.github/workflows/install-system-dependencies.sh
5556
- name: Install doctest
5657
run: |
5758
cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.22'

doc/cookbook/hoist-server-with-context/HoistServerWithContext.lhs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ This recipe uses the following ingredients:
3434
import Prelude ()
3535
import Prelude.Compat
3636
37-
import Control.Monad.IO.Class (liftIO)
3837
import Control.Monad.Reader
3938
import Data.Aeson
40-
import Data.Default
39+
import Data.Default (def)
4140
import Data.Proxy
4241
import Data.Text
4342
import Data.Time.Clock ( UTCTime, getCurrentTime )
@@ -48,7 +47,7 @@ import Network.Wai.Middleware.RequestLogger
4847
import Network.Wai.Middleware.RequestLogger.JSON
4948
import Servant as S
5049
import Servant.Auth as SA
51-
import Servant.Auth.Server as SAS
50+
import Servant.Auth.Server as SAS hiding (def)
5251
import System.Log.FastLogger ( ToLogStr(..)
5352
, LoggerSet
5453
, defaultBufSize

0 commit comments

Comments
 (0)