From 1f1f0bd8b811740c84215f9ed4fa5ebd8309a990 Mon Sep 17 00:00:00 2001 From: slotThe Date: Thu, 9 Jan 2020 15:54:47 +0100 Subject: Use a single Manager across the whole application --- xmobar.cabal | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'xmobar.cabal') diff --git a/xmobar.cabal b/xmobar.cabal index 1eff7ba..176a18d 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -176,7 +176,8 @@ library parsec-numbers >= 0.1.0, stm >= 2.3 && < 2.6, extensible-exceptions == 0.1.*, - async + async, + http-conduit if impl(ghc < 8.0.2) -- Disable building with GHC before 8.0.2. @@ -250,11 +251,11 @@ library if flag(with_weather) || flag(all_extensions) exposed-modules: Xmobar.Plugins.Monitors.Weather cpp-options: -DWEATHER - build-depends: http-conduit, http-types + build-depends: http-types if flag(with_uvmeter) exposed-modules: Xmobar.Plugins.Monitors.UVMeter - build-depends: http-conduit, http-types + build-depends: http-types cpp-options: -DUVMETER if os(freebsd) @@ -310,6 +311,7 @@ test-suite XmobarTest async, temporary, hspec == 2.*, + http-conduit, xmobar other-modules: Xmobar.Plugins.Monitors.CommonSpec -- cgit v1.2.3