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; unix = null;
xhtml = 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. # GHC 8.4.x needs newer versions than LTS-10.x offers by default.
## haddock: panic! (the 'impossible' happened) ## haddock: panic! (the 'impossible' happened)
## (GHC version 8.4.20180122 for x86_64-unknown-linux): ## (GHC version 8.4.20180122 for x86_64-unknown-linux):
@ -82,14 +87,14 @@ self: super: {
## Shadowed: ## Shadowed:
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## • Could not deduce (Semigroup (Dict a)) ## • Could not deduce (Semigroup (Dict a))
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## from the context: a ## from the context: a
constraints = super.constraints_0_10; constraints = super.constraints_0_10;
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## • Could not deduce (Semigroup (IterT m a)) ## • Could not deduce (Semigroup (IterT m a))
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## from the context: (Monad m, Monoid a) ## from the context: (Monad m, Monoid a)
@ -97,7 +102,7 @@ self: super: {
funcmp = overrideCabal super.funcmp_1_9 (drv: { funcmp = overrideCabal super.funcmp_1_9 (drv: {
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## Needed for (<>) in prelude ## Needed for (<>) in prelude
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## base >=3 && <4.11 ## base >=3 && <4.11
@ -106,7 +111,7 @@ self: super: {
hspec-core = overrideCabal super.hspec-core_2_4_8 (drv: { hspec-core = overrideCabal super.hspec-core_2_4_8 (drv: {
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## • No instance for (Semigroup Summary) ## • No instance for (Semigroup Summary)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid Summary ## • In the instance declaration for Monoid Summary
@ -120,7 +125,7 @@ self: super: {
}); });
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## breaks hspec: ## breaks hspec:
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## hspec-discover ==2.4.7 ## hspec-discover ==2.4.7
@ -128,7 +133,7 @@ self: super: {
lens = overrideCabal super.lens_4_16 (drv: { lens = overrideCabal super.lens_4_16 (drv: {
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## • Could not deduce (Apply f) ## • Could not deduce (Apply f)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## from the context: (Contravariant f, Applicative f) ## from the context: (Contravariant f, Applicative f)
@ -140,7 +145,7 @@ self: super: {
semigroupoids = overrideCabal super.semigroupoids_5_2_2 (drv: { semigroupoids = overrideCabal super.semigroupoids_5_2_2 (drv: {
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## • Variable not in scope: mappend :: Seq a -> Seq a -> Seq a ## • Variable not in scope: mappend :: Seq a -> Seq a -> Seq a
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## ghc >=7.0 && <8.4 ## ghc >=7.0 && <8.4
@ -149,14 +154,14 @@ self: super: {
}); });
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## • No instance for (Semigroup Builder) ## • No instance for (Semigroup Builder)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid Builder ## • In the instance declaration for Monoid Builder
stringbuilder = super.stringbuilder_0_5_1; stringbuilder = super.stringbuilder_0_5_1;
## Needs bump to a versioned attribute ## Needs bump to a versioned attribute
## ##
## Module Data.Semigroup does not export Monoid(..) ## Module Data.Semigroup does not export Monoid(..)
## | ## |
## 80 | import Data.Semigroup (Semigroup(..), Monoid(..)) ## 80 | import Data.Semigroup (Semigroup(..), Monoid(..))
@ -167,7 +172,7 @@ self: super: {
tasty = overrideCabal super.tasty (drv: { tasty = overrideCabal super.tasty (drv: {
## On Hackage, awaiting for import ## On Hackage, awaiting for import
## ##
## • No instance for (Semigroup OptionSet) ## • No instance for (Semigroup OptionSet)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid OptionSet ## • In the instance declaration for Monoid OptionSet
@ -180,7 +185,7 @@ self: super: {
haskell-gi = overrideCabal super.haskell-gi (drv: { haskell-gi = overrideCabal super.haskell-gi (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## haskell-gi-base ==0.20.* ## haskell-gi-base ==0.20.*
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -197,7 +202,7 @@ self: super: {
haskell-gi-base = overrideCabal super.haskell-gi-base (drv: { haskell-gi-base = overrideCabal super.haskell-gi-base (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## haskell-gi-base ==0.21.* ## haskell-gi-base ==0.21.*
## cannot build derivation /nix/store/b3d6yr1rzk4hpzg87yk4n5i4321i824f-gi-cairo-1.0.14.drv: 1 dependencies couldn't be built ## cannot build derivation /nix/store/b3d6yr1rzk4hpzg87yk4n5i4321i824f-gi-cairo-1.0.14.drv: 1 dependencies couldn't be built
@ -212,7 +217,7 @@ self: super: {
haskell-src-exts = overrideCabal super.haskell-src-exts (drv: { haskell-src-exts = overrideCabal super.haskell-src-exts (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## • Could not deduce (Semigroup (ParseResult m)) ## • Could not deduce (Semigroup (ParseResult m))
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## from the context: Monoid m ## from the context: Monoid m
@ -226,7 +231,7 @@ self: super: {
lambdacube-compiler = overrideCabal super.lambdacube-compiler (drv: { lambdacube-compiler = overrideCabal super.lambdacube-compiler (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## aeson >=0.9 && <0.12, ## aeson >=0.9 && <0.12,
## base >=4.7 && <4.10, ## base >=4.7 && <4.10,
@ -243,7 +248,7 @@ self: super: {
lambdacube-ir = overrideCabal super.lambdacube-ir (drv: { lambdacube-ir = overrideCabal super.lambdacube-ir (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## aeson >=0.9 && <0.12, base >=4.8 && <4.10, vector ==0.11.* ## aeson >=0.9 && <0.12, base >=4.8 && <4.10, vector ==0.11.*
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -257,7 +262,7 @@ self: super: {
simple-reflect = overrideCabal super.simple-reflect (drv: { simple-reflect = overrideCabal super.simple-reflect (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## • No instance for (Semigroup Expr) ## • No instance for (Semigroup Expr)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid Expr ## • In the instance declaration for Monoid Expr
@ -271,7 +276,7 @@ self: super: {
singletons = overrideCabal super.singletons (drv: { singletons = overrideCabal super.singletons (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## th-desugar ==1.7.* ## th-desugar ==1.7.*
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -284,7 +289,7 @@ self: super: {
th-desugar = overrideCabal super.th-desugar (drv: { th-desugar = overrideCabal super.th-desugar (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## • Could not deduce (MonadIO (DsM q)) ## • Could not deduce (MonadIO (DsM q))
## arising from the 'deriving' clause of a data type declaration ## arising from the 'deriving' clause of a data type declaration
## from the context: Quasi q ## from the context: Quasi q
@ -298,7 +303,7 @@ self: super: {
websockets = overrideCabal super.websockets (drv: { websockets = overrideCabal super.websockets (drv: {
## Upstreamed, awaiting a Hackage release ## Upstreamed, awaiting a Hackage release
## ##
## • No instance for (Semigroup SizeLimit) ## • No instance for (Semigroup SizeLimit)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid SizeLimit ## • In the instance declaration for Monoid SizeLimit
@ -315,7 +320,7 @@ self: super: {
blaze-builder = overrideCabal super.blaze-builder (drv: { blaze-builder = overrideCabal super.blaze-builder (drv: {
## Unmerged. PR: https://github.com/lpsmith/blaze-builder/pull/10 ## Unmerged. PR: https://github.com/lpsmith/blaze-builder/pull/10
## ##
## • No instance for (Semigroup Poke) ## • No instance for (Semigroup Poke)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid Poke ## • In the instance declaration for Monoid Poke
@ -329,7 +334,7 @@ self: super: {
bytestring-trie = overrideCabal super.bytestring-trie (drv: { bytestring-trie = overrideCabal super.bytestring-trie (drv: {
## Unmerged. PR: https://github.com/wrengr/bytestring-trie/pull/3 ## Unmerged. PR: https://github.com/wrengr/bytestring-trie/pull/3
## ##
## • Could not deduce (Semigroup (Trie a)) ## • Could not deduce (Semigroup (Trie a))
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## from the context: Monoid a ## from the context: Monoid a
@ -352,7 +357,7 @@ self: super: {
gtk2hs-buildtools = overrideCabal super.gtk2hs-buildtools (drv: { gtk2hs-buildtools = overrideCabal super.gtk2hs-buildtools (drv: {
## Unmerged. PR: https://github.com/gtk2hs/gtk2hs/pull/233 ## Unmerged. PR: https://github.com/gtk2hs/gtk2hs/pull/233
## ##
## Setup: Encountered missing dependencies: ## Setup: Encountered missing dependencies:
## Cabal >=1.24.0.0 && <2.1 ## Cabal >=1.24.0.0 && <2.1
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -366,7 +371,7 @@ self: super: {
hashtables = overrideCabal super.hashtables (drv: { hashtables = overrideCabal super.hashtables (drv: {
## Unmerged. PR: https://github.com/gregorycollins/hashtables/pull/46 ## Unmerged. PR: https://github.com/gregorycollins/hashtables/pull/46
## ##
## • No instance for (Semigroup Slot) ## • No instance for (Semigroup Slot)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid Slot ## • In the instance declaration for Monoid Slot
@ -380,7 +385,7 @@ self: super: {
language-c = overrideCabal super.language-c (drv: { language-c = overrideCabal super.language-c (drv: {
## Unmerged. PR: https://github.com/visq/language-c/pull/45 ## Unmerged. PR: https://github.com/visq/language-c/pull/45
## ##
## Ambiguous occurrence <> ## Ambiguous occurrence <>
## It could refer to either Prelude.<>, ## It could refer to either Prelude.<>,
## imported from Prelude at src/Language/C/Pretty.hs:15:8-24 ## imported from Prelude at src/Language/C/Pretty.hs:15:8-24
@ -396,7 +401,7 @@ self: super: {
language-c_0_7_0 = overrideCabal super.language-c_0_7_0 (drv: { language-c_0_7_0 = overrideCabal super.language-c_0_7_0 (drv: {
## Unmerged. PR: https://github.com/visq/language-c/pull/45 ## Unmerged. PR: https://github.com/visq/language-c/pull/45
## ##
## Ambiguous occurrence <> ## Ambiguous occurrence <>
## It could refer to either Prelude.<>, ## It could refer to either Prelude.<>,
## imported from Prelude at src/Language/C/Pretty.hs:15:8-24 ## imported from Prelude at src/Language/C/Pretty.hs:15:8-24
@ -412,7 +417,7 @@ self: super: {
monadplus = overrideCabal super.monadplus (drv: { monadplus = overrideCabal super.monadplus (drv: {
## Unmerged. PR: https://github.com/hanshoglund/monadplus/pull/3 ## Unmerged. PR: https://github.com/hanshoglund/monadplus/pull/3
## ##
## • No instance for (Semigroup (Partial a b)) ## • No instance for (Semigroup (Partial a b))
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid (Partial a b) ## • In the instance declaration for Monoid (Partial a b)
@ -426,7 +431,7 @@ self: super: {
reflex = overrideCabal super.reflex (drv: { reflex = overrideCabal super.reflex (drv: {
## Unmerged. PR: https://github.com/reflex-frp/reflex/pull/158 ## Unmerged. PR: https://github.com/reflex-frp/reflex/pull/158
## ##
## • Could not deduce (Semigroup (Event t a)) ## • Could not deduce (Semigroup (Event t a))
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## from the context: (Semigroup a, Reflex t) ## from the context: (Semigroup a, Reflex t)
@ -454,7 +459,7 @@ self: super: {
regex-tdfa = overrideCabal super.regex-tdfa (drv: { regex-tdfa = overrideCabal super.regex-tdfa (drv: {
## Unmerged. PR: https://github.com/ChrisKuklewicz/regex-tdfa/pull/13 ## Unmerged. PR: https://github.com/ChrisKuklewicz/regex-tdfa/pull/13
## ##
## • No instance for (Semigroup (CharMap a)) ## • No instance for (Semigroup (CharMap a))
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid (CharMap a) ## • In the instance declaration for Monoid (CharMap a)
@ -468,7 +473,7 @@ self: super: {
securemem = overrideCabal super.securemem (drv: { securemem = overrideCabal super.securemem (drv: {
## Unmerged. PR: https://github.com/vincenthz/hs-securemem/pull/12 ## Unmerged. PR: https://github.com/vincenthz/hs-securemem/pull/12
## ##
## • No instance for (Semigroup SecureMem) ## • No instance for (Semigroup SecureMem)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid SecureMem ## • In the instance declaration for Monoid SecureMem
@ -482,7 +487,7 @@ self: super: {
text-format = overrideCabal super.text-format (drv: { text-format = overrideCabal super.text-format (drv: {
## Unmerged. PR: https://github.com/bos/text-format/pull/21 ## Unmerged. PR: https://github.com/bos/text-format/pull/21
## ##
## • No instance for (Semigroup Format) ## • No instance for (Semigroup Format)
## arising from the superclasses of an instance declaration ## arising from the superclasses of an instance declaration
## • In the instance declaration for Monoid Format ## • In the instance declaration for Monoid Format
@ -496,7 +501,7 @@ self: super: {
wl-pprint-text = overrideCabal super.wl-pprint-text (drv: { wl-pprint-text = overrideCabal super.wl-pprint-text (drv: {
## Unmerged. PR: https://github.com/ivan-m/wl-pprint-text/pull/17 ## Unmerged. PR: https://github.com/ivan-m/wl-pprint-text/pull/17
## ##
## Ambiguous occurrence <> ## Ambiguous occurrence <>
## It could refer to either PP.<>, ## It could refer to either PP.<>,
## imported from Prelude.Compat at Text/PrettyPrint/Leijen/Text/Monadic.hs:73:1-36 ## imported from Prelude.Compat at Text/PrettyPrint/Leijen/Text/Monadic.hs:73:1-36