@@ -423,13 +423,7 @@ library
423423 doclayout >= 0.1 && < 0.2,
424424 ipynb >= 0.1 && < 0.2,
425425 attoparsec >= 0.12 && < 0.14
426− if impl(ghc < 8.0)
427− build-depends: semigroups == 0.18.*,
428− -- basement 0.0.8 and foundation 0.0.21, transitive
429− -- dependencies, drop support for ghc 7.10.
430− basement < 0.0.8,
431− foundation < 0.0.21
432− if impl(ghc >= 8.0) && os(windows) && arch(i386)
426+ if os(windows) && arch(i386)
433427 build-depends: basement >= 0.0.10,
434428 foundation >= 0.0.23
435429 -- basement 0.0.9 won't build on 32-bit windows.
@@ -450,14 +444,17 @@ library
450444 if os(windows)
451445 cpp-options: -D_WINDOWS
452446 ghc-options: -Wall -fno-warn-unused-do-bind
453− if impl(ghc > 8.0)
454− ghc-options: -Wincomplete-record-updates
455− -Wnoncanonical-monad-instances
456− -Wnoncanonical-monadfail-instances
457− if impl(ghc > 8.4)
447+ -Wincomplete-record-updates
448+ -Wnoncanonical-monad-instances
449+ -Wnoncanonical-monadfail-instances
450+ if impl(ghc >= 8.2)
451+ ghc-options: -Wcpp-undef
452+ if impl(ghc >= 8.4)
458453 ghc-options: -Wincomplete-uni-patterns
459454 -Widentities
460455 -Werror=missing-home-modules
456+ -fhide-source-paths
457+
461458 default-language: Haskell2010
462459 other-extensions: NoImplicitPrelude
463460 hs-source-dirs: src
@@ -621,8 +618,6 @@ library
621618
622619executable pandoc
623620 build-depends: pandoc, base >= 4.8 && < 5
624− if impl(ghc < 8.0)
625− build-depends: semigroups == 0.18.*
626621 if impl(ghc < 8.4)
627622 hs-source-dirs: prelude
628623 other-modules: Prelude
@@ -648,8 +643,6 @@ executable trypandoc
648643 buildable: True
649644 else
650645 buildable: False
651− if impl(ghc < 8.0)
652− build-depends: semigroups == 0.18.*
653646 if impl(ghc < 8.4)
654647 hs-source-dirs: prelude
655648 other-modules: Prelude
@@ -664,8 +657,6 @@ benchmark weigh-pandoc
664657 text,
665658 weigh >= 0.0 && < 0.1,
666659 mtl >= 2.2 && < 2.3
667− if impl(ghc < 8.0)
668− build-depends: semigroups == 0.18.*
669660 if impl(ghc < 8.4)
670661 hs-source-dirs: prelude
671662 other-modules: Prelude
@@ -703,8 +694,6 @@ test-suite test-pandoc
703694 zip-archive >= 0.2.3.4 && < 0.5,
704695 xml >= 1.3.12 && < 1.4,
705696 Glob >= 0.7 && < 0.11
706− if impl(ghc < 8.0)
707− build-depends: semigroups == 0.18.*
708697 if impl(ghc < 8.4)
709698 hs-source-dirs: prelude
710699 other-modules: Prelude
@@ -776,8 +765,6 @@ benchmark benchmark-pandoc
776765 text >= 1.1.1.0 && < 1.3,
777766 mtl >= 2.2 && < 2.3,
778767 criterion >= 1.0 && < 1.6
779− if impl(ghc < 8.0)
780− build-depends: semigroups == 0.18.*
781768 if impl(ghc < 8.4)
782769 hs-source-dirs: prelude
783770 other-modules: Prelude