summaryrefslogtreecommitdiffhomepage
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
parentef02a75ba504a30aa47b5181613eb3a6a56a9beb (diff)
downloadxmobar-052b88f55a144a3e935c25cec97063dc2e715eaf.tar.gz
xmobar-052b88f55a144a3e935c25cec97063dc2e715eaf.tar.bz2
exclude libmpd for ghc 9.4 or greater
-rw-r--r--.drone.yml1
-rw-r--r--xmobar.cabal2
2 files changed, 2 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 527943f..1fd1c13 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,5 +1,6 @@
matrix:
GHC_VERSION:
+ - 9.4
- 9.2
- 8
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