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.
This commit is contained in:
John MacFarlane 2018-06-29 20:09:08 +02:00
parent 37523e54d5
commit 39dc3b9a4b

View file

@ -370,7 +370,6 @@ library
temporary >= 1.1 && < 1.4, temporary >= 1.1 && < 1.4,
blaze-html >= 0.9 && < 0.10, blaze-html >= 0.9 && < 0.10,
blaze-markup >= 0.8 && < 0.9, blaze-markup >= 0.8 && < 0.9,
yaml >= 0.8.11 && < 0.9,
scientific >= 0.2 && < 0.4, scientific >= 0.2 && < 0.4,
vector >= 0.10 && < 0.13, vector >= 0.10 && < 0.13,
hslua >= 0.9.5 && < 0.9.6, hslua >= 0.9.5 && < 0.9.6,
@ -390,7 +389,10 @@ library
http-types >= 0.8 && < 0.13, http-types >= 0.8 && < 0.13,
case-insensitive >= 1.2 && < 1.3 case-insensitive >= 1.2 && < 1.3
if impl(ghc < 8.0) 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) if impl(ghc < 8.4)
hs-source-dirs: prelude hs-source-dirs: prelude
other-modules: Prelude other-modules: Prelude