Merge pull request #370 from felixonmars/patch-1

Depend on semigroups only on GHC < 8.0
This commit is contained in:
Brent Yorgey 2020-08-15 11:28:12 -05:00 committed by GitHub
commit 51bc4f8c2f
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