diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-06-29 20:09:08 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-06-29 20:09:08 +0200 |
commit | 39dc3b9a4bafe26ab7572e1cbda5652e9d48c2e8 (patch) | |
tree | d2f56136b81bf6be3b810194fd54d94e7960faa0 /pandoc.cabal | |
parent | 37523e54d595e6e3b4ce978d2c11f1cb11d9b693 (diff) | |
download | pandoc-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.cabal | 6 |
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 |