From 1882add7df3ea1a77f893aaf1692e62df68e5093 Mon Sep 17 00:00:00 2001 From: Chris Martin Date: Tue, 26 Mar 2019 19:03:00 -0600 Subject: Fix build for latest version of servant-client Various modules have been removed from servant-client, and the things previously imported from them now need to be imported from the top-level "Servant.Client" module. The ClientEnv constructor now has a third parameter. Instead of using the constructor directly, now using mkClientEnv (which was introduced in servant-client 0.13, necessitating raising the minimum version on the dependency). --- openweathermap.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openweathermap.cabal') diff --git a/openweathermap.cabal b/openweathermap.cabal index dca75ca..4565f71 100644 --- a/openweathermap.cabal +++ b/openweathermap.cabal @@ -30,7 +30,7 @@ library , aeson , http-client , servant - , servant-client >= 0.9 + , servant-client >= 0.13 exposed-modules: Web.OpenWeatherMap.API Web.OpenWeatherMap.Client -- cgit v1.2.3