summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-08-28 02:09:20 +0100
committerjao <jao@gnu.org>2023-08-28 02:09:20 +0100
commit052b88f55a144a3e935c25cec97063dc2e715eaf (patch)
treef808dfea3ba6130f28a25575bdbe2a8b6b0293e1 /xmobar.cabal
parentef02a75ba504a30aa47b5181613eb3a6a56a9beb (diff)
downloadxmobar-052b88f55a144a3e935c25cec97063dc2e715eaf.tar.gz
xmobar-052b88f55a144a3e935c25cec97063dc2e715eaf.tar.bz2
exclude libmpd for ghc 9.4 or greater
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index d8d2463..27f6c89 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -255,7 +255,7 @@ library
cereal >= 0.5.8.1
cpp-options: -DUSE_NL80211
- if flag(with_mpd) || flag(all_extensions)
+ if (flag(with_mpd) || flag(all_extensions)) && impl(ghc < 9.4)
build-depends: libmpd >= 0.9.2.0
other-modules: Xmobar.Plugins.Monitors.MPD
cpp-options: -DLIBMPD