haskell-doctest: use the latest version when compiling with GHC 8.4.x

This change also requires us to use the latest QuickCheck version in the GHC
8.4.x package set.

Furthermore, the latest version of doctest has a broken test suite that needs
to be disabled for the build to succeed.
This commit is contained in:
Peter Simons 2018-02-20 09:51:29 +01:00
parent a3c1a66ed7
commit d6f37ff0a5

View file

@ -42,6 +42,11 @@ self: super: {
unix = null;
xhtml = null;
# Use more recent doctest version to fix build errors.
doctest = self.doctest_0_14_0;
doctest_0_14_0 = dontCheck super.doctest_0_14_0; # https://github.com/sol/doctest/issues/189
QuickCheck = self.QuickCheck_2_11_3; # needed by doctest-0.14.0
# GHC 8.4.x needs newer versions than LTS-10.x offers by default.
## haddock: panic! (the 'impossible' happened)
## (GHC version 8.4.20180122 for x86_64-unknown-linux):