@@ -563,6 +563,8 @@ library
563563
564564executable pandoc
565565 build-depends: pandoc, base >= 4.7 && < 5
566+ if !impl(ghc >= 8.0)
567+ build-depends: semigroups == 0.18.*
566568 ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded
567569 if flag(static)
568570 ld-options: -static
@@ -588,6 +590,8 @@ executable trypandoc
588590 buildable: True
589591 else
590592 buildable: False
593+ if !impl(ghc >= 8.0)
594+ build-depends: semigroups == 0.18.*
591595
592596executable weigh-pandoc
593597 main-is: weigh-pandoc.hs
@@ -602,6 +606,8 @@ executable weigh-pandoc
602606 buildable: True
603607 else
604608 buildable: False
609+ if !impl(ghc >= 8.0)
610+ build-depends: semigroups == 0.18.*
605611 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
606612 default-language: Haskell98
607613
@@ -632,6 +638,8 @@ test-suite test-pandoc
632638 zip-archive >= 0.2.3.4 && < 0.4,
633639 xml >= 1.3.12 && < 1.4,
634640 Glob >= 0.7 && < 0.10
641+ if !impl(ghc >= 8.0)
642+ build-depends: semigroups == 0.18.*
635643 if flag(old-locale)
636644 build-depends: old-locale >= 1 && < 1.1,
637645 time >= 1.2 && < 1.5
@@ -698,5 +706,7 @@ benchmark benchmark-pandoc
698706 base >= 4.2 && < 5,
699707 text >= 0.11 && < 1.3,
700708 criterion >= 1.0 && < 1.5
709+ if !impl(ghc >= 8.0)
710+ build-depends: semigroups == 0.18.*
701711 ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind
702712 default-language: Haskell98