Closed patrickt closed 3 years ago
Not clear to me why the unit tests are failing: it looks like a Stack issue, which is puzzling, as I didn’t change the stack.yml in any way.
This patch only works for ghc-8.8? I get
cabal --with-ghc=/opt/ghc/ghc-8.6.5/bin/ghc build
...
src/Control/Distributed/Process/Internal/Types.hs:356:14: error:
Not in scope: type constructor or class ‘MonadFail’
I think this can be repaired with an extra
import Control.Monad.Fail (MonadFail)
Then it compiles with ghc-8.4, 8.6. 8.8.
Oop! Good catch. My apologies; fixing.
Still getting a Stack error from the builders, though I’ve verified it’s good on 8.4-8.8 with ghcup
and cabal install
. Will investigate further.
@patrickt your patch is fine. I think stack 2 snuck in somehow. https://github.com/haskell-distributed/distributed-process/pull/342 has the cure.
Is there anything currently stopping this PR from being merged? Does it just need to be rebased against master? I'd like to see it merged as this issue is breaking my build on Nix.
closed via #361
hashable
is up to 1.3 andfail
is no longer a part ofMonad
.