aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-29 20:09:08 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-29 20:09:08 +0200
commit39dc3b9a4bafe26ab7572e1cbda5652e9d48c2e8 (patch)
treed2f56136b81bf6be3b810194fd54d94e7960faa0 /pandoc.cabal
parent37523e54d595e6e3b4ce978d2c11f1cb11d9b693 (diff)
downloadpandoc-39dc3b9a4bafe26ab7572e1cbda5652e9d48c2e8.tar.gz
Require yaml < 0.8.31 for ghc < 8.0.2.
The 0.8.31 release of yaml adds a constraint to ghc versions 8.0.2 and greater.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal6
1 files changed, 4 insertions, 2 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 3ba24d7fc..af76a9c3c 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -370,7 +370,6 @@ library
temporary >= 1.1 && < 1.4,
blaze-html >= 0.9 && < 0.10,
blaze-markup >= 0.8 && < 0.9,
- yaml >= 0.8.11 && < 0.9,
scientific >= 0.2 && < 0.4,
vector >= 0.10 && < 0.13,
hslua >= 0.9.5 && < 0.9.6,
@@ -390,7 +389,10 @@ library
http-types >= 0.8 && < 0.13,
case-insensitive >= 1.2 && < 1.3
if impl(ghc < 8.0)
- build-depends: semigroups == 0.18.*
+ build-depends: semigroups == 0.18.*,
+ yaml >= 0.8.11 && < 0.8.31
+ else
+ build-depends: yaml >= 0.8.11 && < 0.9
if impl(ghc < 8.4)
hs-source-dirs: prelude
other-modules: Prelude