summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal13
1 files changed, 10 insertions, 3 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 92dd44f..86d5bc5 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -1,5 +1,5 @@
name: xmobar
-version: 0.26
+version: 0.27
homepage: http://xmobar.org
synopsis: A Minimalistic Text Based Status Bar
description: Xmobar is a minimalistic text based status bar.
@@ -46,7 +46,7 @@ test-suite XmobarTest
Plugins.Monitors.Uptime,
Plugins.Monitors.Bright, Plugins.Monitors.CatInt
build-depends:
- base == 4.*,
+ base >= 4.9.1.0,
hspec == 2.*,
containers,
regex-compat,
@@ -159,7 +159,7 @@ executable xmobar
extra-libraries: Xrandr Xrender
build-depends:
- base == 4.*,
+ base >= 4.9.1.0,
containers,
regex-compat,
process,
@@ -176,6 +176,13 @@ executable xmobar
parsec-numbers >= 0.1.0,
stm >= 2.3 && < 2.5
+ if impl(ghc < 8.0.2)
+ -- Disable building with GHC before 8.0.2.
+ -- Due to a cabal bug, do not use buildable: False,
+ -- but instead give it an impossible constraint.
+ -- See: https://github.com/haskell-infra/hackage-trustees/issues/165
+ build-depends: unsupported-ghc-version > 1 && < 1
+
if flag(with_threaded)
-- -threaded is a workaround for 100% CPU busy loop
-- (http://hackage.haskell.org/trac/ghc/ticket/4934).