Build error with `aeson-2.0.1.0` and GHC 8.0.2
Closed this issue · 3 comments
sjakobi commented
src/Network/Google/Data/JSON.hs:67:19: error:
• Couldn't match type ‘HashMap Text Value’
with ‘Data.Aeson.KeyMap.KeyMap Value’
Expected type: HashMap Text Value -> Parser a
Actual type: Object -> Parser a
• In the expression: parseJSON . Object
In an equation for ‘parseJSONObject’:
parseJSONObject = parseJSON . Object
cabal: Failed to build gogol-core-0.5.0 (which is required by gogol-0.5.0).
brendanhay commented
Thanks
sjakobi commented
As a Hackage trustee, I have created revisions for gogol-core-0.4.0
and gogol-core-0.5.0
that add upper bounds on aeson
:
- https://hackage.haskell.org/package/gogol-core-0.4.0/revisions/
- https://hackage.haskell.org/package/gogol-core-0.5.0/revisions/
For the migration to aeson-2, you may find some advice in haskell/aeson#881.
brendanhay commented
Thanks, this is now fixed on main
.