From 67eee0be14c2966e9dcf6f4127e75da16b9942b7 Mon Sep 17 00:00:00 2001 From: Martin Perner Date: Thu, 3 Nov 2011 15:36:17 +0100 Subject: fix for ghc6 added applicative instance for ReaderT which was added in GHC7 --- xmobar.cabal | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmobar.cabal') 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) -- cgit v1.2.3