Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content-store-0.2.1 fails to build with recent resourcet #28

Open
juhp opened this issue Sep 25, 2018 · 0 comments
Open

content-store-0.2.1 fails to build with recent resourcet #28

juhp opened this issue Sep 25, 2018 · 0 comments

Comments

@juhp
Copy link

juhp commented Sep 25, 2018

content-store-0.2.1 does not build with recent resourcet (ie with Stackage LTS 11 or later).

Configuring content-store-0.2.1...
Setup: Encountered missing dependencies:
conduit-combinators >=1.1.0 && <1.3, resourcet >=1.1.9 && <1.2

Tweaking the conduit-combinators bounds in content-store.cabal doesn't help much:

[3 of 3] Compiling Data.ContentStore ( Data/ContentStore.hs, dist/build/Data/ContentStore.o )

Data/ContentStore.hs:120:41: error:
    • No instance for (MonadBase IO (ResourceT (ExceptT CsError IO)))
        arising from the 'deriving' clause of a data type declaration
      Possible fix:
        use a standalone 'deriving instance' declaration,
          so you can specify the instance context yourself
    • When deriving the instance for (MonadBase IO CsMonad)
    |
120 |  deriving (Applicative, Functor, Monad, MonadBase IO, MonadError CsError, MonadIO, MonadResource, MonadThrow)
    |                                         ^^^^^^^^^^^^

This blocks building bdcs and bdcs-api in LTS 11 for example: I would recommand adding them all to Stackage.

Fedora FTBFS bug is https://bugzilla.redhat.com/show_bug.cgi?id=1623126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant