From 532d64a0f94e5d3b78a4798d7cd8bdc78f4d5501 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Tue, 24 Oct 2023 17:13:51 +0100 Subject: [PATCH] ci: Disable x-partial warnings in the testsuite Related: https://github.com/xmonad/xmonad/pull/477 --- xmonad-contrib.cabal | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal index 8b14df0b11..0072f50e9a 100644 --- a/xmonad-contrib.cabal +++ b/xmonad-contrib.cabal @@ -491,3 +491,6 @@ test-suite tests -- don't treat unused-imports warning as errors, they may be necessary -- for compatibility with older versions of base (or other deps) ghc-options: -Wwarn=unused-imports + + if impl(ghc > 9.8) + ghc-options: -Wno-x-partial