tel / oauthenticated

Authentication-ho! OAuth 1.0 for Haskell atop http-conduit.
MIT License
6 stars 6 forks source link

Fix compilation with aeson 2.0.1 #31

Closed dfithian closed 2 years ago

dfithian commented 2 years ago

Got a notification that oauthenticated was removed from the nightly stackage build because of a compilation failure: https://github.com/commercialhaskell/stackage/issues/6486

So I checked build-constraints.yaml as to why: https://github.com/commercialhaskell/stackage/blob/master/build-constraints.yaml#L5450

With these changes (and since I'm on NixOS I needed shell.nix) I was able to verify it could build with aeson-2.0.1.

[nix-shell:~/git/oauthenticated]$ ghc-pkg list | grep aeson
    aeson-2.0.1.0
[nix-shell:~/git/oauthenticated]$ cabal v2-build oauthenticated # this worked