Skip to content

Commit 6fd58c2

Browse files
committed
ci: fix doc build under ghc 8.4.4
1 parent ab251a5 commit 6fd58c2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/haskell.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ jobs:
3838
- name: Run tests
3939
# We don't run hlint tests, because different versions of hlint have different suggestions, and we don't want to worry about satisfying them all.
4040
run: cabal test --enable-tests -f-hlint all
41-
- name: Build Docs
41+
- if: matrix.ghc != '8.4.4'
42+
# docs aren't built on ghc 8.4.4 because some dependency docs don't build on older GHCs
43+
name: Build Docs
4244
run: cabal haddock

patch.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ library
4949
, transformers >= 0.5.6.0 && < 0.7
5050
, witherable >= 0.3 && < 0.5
5151

52-
if impl(ghc < 8.6) -- really, if base < 8.12
52+
if impl(ghc < 8.6)
5353
build-depends: base-orphans >= 0.8 && < 0.9
5454

5555
exposed-modules: Data.Functor.Misc

0 commit comments

Comments
 (0)