-
Notifications
You must be signed in to change notification settings - Fork 56
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
I'm unable to build this library on ghc 9.8.2 with aeson-2. Any pointers? #250
Comments
Its an error in our bounds. We should still have aeson < 2.2, not aeson < 2.3. The problem was introduced by @j6carey in bec9d40#diff-bfbb0a670352f7c28e30ad16b0d5dd36f12d85ec61a3238918cf0dcf974d2b43 it appears. |
Changing that in the fork doesn't help, so I don't think that's the issue. |
Yeah, it looks like that part of my change was incorrect; sorry about that. |
@tonyalaribe , our continuous integration includes the following Nix build, which succeeds:
The version of Aeson that we use in that build is aeson-2.1.2.1 but with this patch:
Does that help? |
indeed, if you allow-newer then it will discard all our bounds, leading to failures. A patch to adapt to using a newer aeson would be welcome if we could also ensure we maintain back-compat. |
I spent the last 2 days trying to fix this library to work with aeson 2.2.3, and I'm surprised at how difficult this is. Specifically translating these two instances to an implementation that supports aeson 2.2.3
|
I got the first instance to compile with this implementation. But don't have a solution for the second yet
|
@tonyalaribe , I'll take a look, but I may have trouble getting the build environment established, and I have a few other projects, so I can't promise an immediate answer. |
@tonyalaribe , I'm going to propose this solution, though I haven't yet gotten it reviewed:
|
@j6carey this worked nicely. Thanks for helping with this. I'll clean up the branch and make a PR. |
Hi, I'm trying to setup a grpc server for a couple days now, but have been unable to figure this out.
My current situation is the error below, which I wasn't able to resolve by forking this library and adding attoparsec-aeson to the dependencies list (I got new errors). Do you have any pointers on the issue?
The text was updated successfully, but these errors were encountered: