klappvisor / haskell-telegram-api

Telegram Bot API for Haskell
BSD 3-Clause "New" or "Revised" License
201 stars 67 forks source link

Fix building with cabal #66

Closed Arguggi closed 8 years ago

Arguggi commented 8 years ago

The current version on hackage does not compile with cabal.

Without upper bounds on http-client cabal tries to use the 0.5 version, but the checkStatusfunction has been renamed to checkResponse and the type signature also changed. (http-client changelog)

Since stack is still stuck on version 0.4, even the nightly, I think it's better to put an upper bound for now and once a 0.5 version is in a stack lts it can be relaxed and updated to >= 0.5 so that is uses the new version.