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 aeson-2.0.2.0 #29

Closed
andreasabel opened this issue Jan 20, 2022 · 0 comments · Fixed by #30
Closed

Build failure with aeson-2.0.2.0 #29

andreasabel opened this issue Jan 20, 2022 · 0 comments · Fixed by #30
Assignees

Comments

@andreasabel
Copy link
Member

Building executable 'hackage-cli' for hackage-cli-0.1.0.0..

src/IndexShaSum.hs:117:55: error:
    • Couldn't match type ‘Data.Aeson.KeyMap.KeyMap J.Value’
                     with ‘HM.HashMap Data.Text.Internal.Text J.Value’
      Expected type: J.Object -> J.Parser [(ByteString, ByteString)]
        Actual type: HM.HashMap Data.Text.Internal.Text J.Value
                     -> J.Parser [(ByteString, ByteString)]
    • In the second argument of ‘J.withObject’, namely ‘go2’
      In a stmt of a 'do' block:
        J.withObject "PackageJson.signed.targets" go2 targets

haskell/aeson#881 can be scraped for information on how to fix this.

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