Add base bounds for test-suite

cabal 3.12+ is stricter in its checks. Our test suite doesn't depend on
xmonad-contrib (it compiles the modules itself with possibly different
preprocessor defines), thus it doesn't inherit its base bounds.

See https://github.com/haskell/cabal/issues/10162
This commit is contained in:
Tomas Janousek 2024-07-07 15:21:34 +01:00
parent 5f82296536
commit 91e59c3651

View File

@ -481,7 +481,7 @@ test-suite tests
XMonad.Util.XUtils
XPrompt
hs-source-dirs: tests, .
build-depends: base
build-depends: base >= 4.12 && < 5
, QuickCheck >= 2
, X11 >= 1.10 && < 1.11
, bytestring >= 0.10 && < 0.13