mongodb-haskell/mongodb

`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/

This issue came up again with mongoDB-2.7.1.3. @Bodigrim Any chance we could get another revision? I made a PR #152 to fix the issue.

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.

You can use a Hackage revision to edit the metadata, including package dependency bounds. You'd click the version linke for 2.7.1.3, then in the bottom left, there's a link edit package information. You can use that to edit the version bounds.

image