aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-08-12 09:22:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-08-12 09:24:27 -0700
commit3cfcfacd728fec948d72e04bfcd64bbf97979280 (patch)
tree664bc342fc00bfdc4704f3a73102f4fa5b2dc625 /pandoc.cabal
parent86cce2b2eb7fed4eeabdcd368c1c26470ba76dcd (diff)
downloadpandoc-3cfcfacd728fec948d72e04bfcd64bbf97979280.tar.gz
Use Prelude from base-compat for ghc 8.4 too.
We were having trouble building on ghc 8.4 because of the lack of a Foldable instance for (Alt Maybe) in base < 4.12. Mystery: for some reason our builds were failing for gitit but not in the pandoc CI.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal2
1 files changed, 1 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 81c3546e7..66ac50ce3 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -410,7 +410,7 @@ common common-options
-Wincomplete-record-updates
-Wnoncanonical-monad-instances
- if impl(ghc < 8.4)
+ if impl(ghc < 8.6)
hs-source-dirs: prelude
other-modules: Prelude
build-depends: base-compat >= 0.9