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

Build failure with GHC 8.4 and up #2

Open
andreasabel opened this issue Jun 12, 2023 · 0 comments
Open

Build failure with GHC 8.4 and up #2

andreasabel opened this issue Jun 12, 2023 · 0 comments

Comments

@andreasabel
Copy link

Discovered in a routine build attempt:

Building library for credentials-0.0.2..
[1 of 5] Compiling Credentials.Types ( src/Credentials/Types.hs, /Users/abel/tmp/credentials-0.0.2/dist-newstyle/build/x86_64-osx/ghc-8.4.4/credentials-0.0.2/build/Credentials/Types.o )

src/Credentials/Types.hs:54:25: error:
    • No instance for (Semigroup Context)
        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 (Monoid Context)
   |
54 |     deriving (Eq, Show, Monoid)
   |                         ^^^^^^
Error: cabal: Failed to build credentials-0.0.2.

Added missing upper bound base < 4.11 to hackage releases: https://hackage.haskell.org/package/credentials-0.0.2/revisions/

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