Depend on semigroups only on GHC < 8.0

They are not needed on newer GHC.
This commit is contained in:
Felix Yan 2020-08-11 17:40:27 +08:00 committed by GitHub
parent 15dbfeff32
commit e61a408e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,8 +66,9 @@ library
unix, unix,
X11>=1.6.1 && < 1.10, X11>=1.6.1 && < 1.10,
xmonad >= 0.15 && < 0.16, xmonad >= 0.15 && < 0.16,
utf8-string, utf8-string
semigroups if impl(ghc < 8.0)
build-depends: semigroups
if flag(use_xft) if flag(use_xft)
build-depends: X11-xft >= 0.2 build-depends: X11-xft >= 0.2