fb icon indicating copy to clipboard operation
fb copied to clipboard

fb-2.0.0 fails to build

Open andreasabel opened this issue 4 years ago • 0 comments

According to https://matrix.hackage.haskell.org/#/package/fb versions 2.0.0 and 1.2.x do not build:

$ cabal install fb-2.0.0
...
In order, the following will be built (use -v for more details):
...
 - fb-2.0.0 (lib) (requires download & build)
...
Building library for fb-2.0.0..
...
[ 2 of 17] Compiling Facebook.Monad   ( src/Facebook/Monad.hs, dist/build/Facebook/Monad.o, dist/build/Facebook/Monad.dyn_o )

src/Facebook/Monad.hs:91:3: error:
    ‘askUnliftIO’ is not a (visible) method of class ‘MonadUnliftIO’
   |
91 |   askUnliftIO =
   |   ^^^^^^^^^^^
Error: cabal: Failed to build fb-2.0.0.

I restored GHC 8.10 compilation in 2.0.0-r1, see https://hackage.haskell.org/package/fb-2.0.0/revisions , by adding upper bound unliftio-core < 0.2.0.0.

You may want to make similar revision on other versions of fb with build failures.

andreasabel avatar Oct 06 '21 15:10 andreasabel