jgotoh / distributed-frp-dunai

Library extending Dunai/ BearRiver to support distributed frp using Cloud Haskell
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

add build/install info #1

Closed jwaldmann closed 4 years ago

jwaldmann commented 4 years ago

cabal test --allow-newer:

with ghc-8.8:

src/Control/Distributed/Process/Internal/Primitives.hs:1273:17: error:
    • Could not deduce (MonadFail Process) arising from a use of ‘fail’

with ghc-8.6:

tests/ServerTest.hs:87:5: error:
    • No instance for (Control.Monad.Fail.MonadFail P.Process)
jgotoh commented 4 years ago

I added some instructions related to building and installing the project in a new branch, see [1].

I created a fork of distributed-process (just a small change) which lets us use Cloud Haskell and newer GHC Versions. I tested it with 8.8.3 and 8.2.2. Does it work for you in the new branch?

[1] https://github.com/jgotoh/distributed-frp-dunai/tree/1_install_info

jwaldmann commented 4 years ago

yes, that works.Thanks! I tested with ghc-8.8.3. I do need --allow-newer. Else,

cabal install
...
[__5] rejecting: distributed-process-extras-0.3.5 (conflict:
hashable==1.3.0.0, distributed-process-extras => hashable>=1.2.0.5 && <1.3)

And cabal test --allow-newer also works with ghc-8.10.1

jgotoh commented 4 years ago

And cabal test --allow-newer also works with ghc-8.10.1

Thanks, good to know. Somehow I can't install ghc 8.10 on my machine.

I added a note to the README regarding --allow-newer.