summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-07-12 00:40:33 +0100
committerjao <jao@gnu.org>2018-07-12 00:40:33 +0100
commit6177f6f017d635e3acbac09dc061f4dcaf3320cc (patch)
tree69e9e23070899c515954ca8437dc9a1f01f321c5 /xmobar.cabal
parenta2365debfaba478042184f5831675d1b08172cc7 (diff)
downloadxmobar-6177f6f017d635e3acbac09dc061f4dcaf3320cc.tar.gz
xmobar-6177f6f017d635e3acbac09dc061f4dcaf3320cc.tar.bz2
Dropped support for GHC 7.x
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).