brendanhay / gogol

A comprehensive Google Services SDK for Haskell.
Other
280 stars 105 forks source link

Does not build with latest servant #147

Closed Fuuzetsu closed 4 years ago

Fuuzetsu commented 4 years ago

gogol-core doesn't specify upper bound on servant version. As it happens, servant 0.17 hides the module Servant.Utils.Links that gogol-core tries to re-export, so the build fails.

AlistairB commented 4 years ago

Hi :wave:

I believe this was fixed as part of #144 . However, there hasn't been a release to hackage since then. (there doesn't seem to be too much active maintenance on this project right now, so not sure when the next release might be)

As such, I have been pulling it in via extra-deps with stack.

extra-deps:
  - git: https://github.com/brendanhay/gogol.git
    commit: 801f00b6e63c22522eb2b3e3e2fc77694730a70f
    subdirs:
      - core
      - gogol
      - gogol-logging
      - gogol-pubsub
      - gogol-cloudtrace

I think you can achieve similar things with cabal.project if you are just using cabal.

Fuuzetsu commented 4 years ago

OH, I didn't see #144 and I swear I looked. I don't know how I missed it, closing as duplicate.

Thanks!