I'm trying to build ghc-mtl-1.2.1.0 with ghc-7.8.3 and I'm getting these error messages:
Control/Monad/Ghc.hs:42:15:
No instance for (GHC.MonadIO Ghc)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (GHC.ExceptionMonad Ghc)
Control/Monad/Ghc.hs:46:15:
No instance for (MonadIO GHC.Ghc)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (MonadIO Ghc)
Control/Monad/Ghc.hs:49:15:
No instance for (GHC.MonadIO Ghc)
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (GHC.GhcMonad Ghc)
Same errors with ghc-7.8.2.
I have tried to figure out which of the over 9000 types and/or modules called Ghc
and/or GHC
and/or MonadIO
is responsible for this, but so far no luck.
So my questions are:
- What change is responsible for this breakage?
- Is it possible to fix it without a downgrade from 7.8.3?