xmonad.cabal: don't depend on semigroups when building with GHC 8.x

Recent compiler versions have Data.Semigroup in 'base'.
This commit is contained in:
Peter Simons 2018-08-20 10:38:50 +02:00
parent 425c3c0872
commit 98f39eabc1

View File

@ -67,8 +67,7 @@ library
process,
unix,
utf8-string >= 0.3 && < 1.1,
X11>=1.8 && < 1.10,
semigroups
X11>=1.8 && < 1.10
if true
ghc-options: -funbox-strict-fields -Wall
@ -81,7 +80,7 @@ library
if flag(testing)
buildable: False
if !impl(ghc > 8)
build-depends: fail
build-depends: fail, semigroups
executable xmonad
main-is: Main.hs