summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorMartin Perner <martin@perner.cc>2011-11-03 15:36:17 +0100
committerMartin Perner <martin@perner.cc>2011-11-03 15:40:20 +0100
commit67eee0be14c2966e9dcf6f4127e75da16b9942b7 (patch)
tree67fc1052954fb9b7054f7d71fb60a37db54df9ad /xmobar.cabal
parent218d07606a7564cdcde5974d53b8e81d04c02a44 (diff)
downloadxmobar-67eee0be14c2966e9dcf6f4127e75da16b9942b7.tar.gz
xmobar-67eee0be14c2966e9dcf6f4127e75da16b9942b7.tar.bz2
fix for ghc6
added applicative instance for ReaderT which was added in GHC7
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 56cbce3..029dce8 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -91,6 +91,10 @@ executable xmobar
if impl (ghc >= 6.12.1)
ghc-options: -fno-warn-unused-do-bind
+ -- for instance declaration in src/Plugins/Monitors/CoreCommon.hs
+ if impl (ghc < 7)
+ cpp-options: -DGHC6
+
build-depends: X11>=1.3.0, mtl, unix, parsec, filepath, stm, time
if flag(small_base)