`MonadFail` not in scope when building on GHC 8.4
Opened this issue · 7 comments
See persistent-mongoDB
failure to compile.To fix, y'all need to put lower bounds on base
for these releases as Hackage revisions, and then add support for GHC 8.4.4 or drop it in the actual cabal file
Fortunately, this is limited to mongoDB-2.7.1.2
- a single Hackage revision ought to fix it :)
As a Hackage trustee, I added the missing lower bound in https://hackage.haskell.org/package/mongoDB-2.7.1.2/revisions/
Version 2.7.1.4
was released with a fix, but the hackage revision is important still because the solver will see that base
does not match and try 2.7.1.3
, which will trigger the issue.
Last time I checked it wasn't possible to update a once uploaded package. I'll take a look.
@VictorDenisov you can edit it here: https://hackage.haskell.org/package/mongoDB-2.7.1.3/mongoDB.cabal/edit