Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

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

@juhp

Description

@juhp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions