Skip to content

Commit

Permalink
Set uppoer bound on aeson
Browse files Browse the repository at this point in the history
Otherwise the build fails with:

[ 1 of 16] Compiling JsonRpc          ( src/JsonRpc.hs, dist/build/chainweb-mining-client/chainweb-mining-client-tmp/JsonRpc.o, dist/build/chainweb-mining-client/chainweb-mining-client-tmp/JsonRpc.dyn_o )

src/JsonRpc.hs:162:22: error:
    • Expecting one more argument to ‘A.KeyValue kv’
      Expected a constraint,
        but ‘A.KeyValue kv’ has kind ‘* -> Constraint’
    • In the type signature:
        requestProperties :: A.KeyValue kv =>
                             A.ToJSON a => T.Text -> a -> Maybe MsgId -> [kv]
    |
162 | requestProperties :: A.KeyValue kv => A.ToJSON a => T.Text -> a -> Maybe MsgId -> [kv]
    |                      ^^^^^^^^^^^^^
  • Loading branch information
enobayram committed Jul 4, 2023
1 parent 9621bbe commit 593e4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainweb-mining-client.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ executable chainweb-mining-client
attoparsec >=0.14
, base >=4.10 && <5
, base16-bytestring >=1.0
, aeson >=1.5
, aeson >=1.5 && <2
, async >=2.2
, bytes >=0.17
, bytestring >=0.10
Expand Down

0 comments on commit 593e4bd

Please sign in to comment.