@@ -377,8 +377,7 @@ flag trypandoc
377 Default: False
377 Default: False
380− build-depends: base-noprelude >= 4.9 && < 5,
380+ build-depends: base >= 4.9 && < 5,
382 syb >= 0.1 && < 0.8,
381 syb >= 0.1 && < 0.8,
383 containers >= 0.4.2.1 && < 0.7,
382 containers >= 0.4.2.1 && < 0.7,
384 unordered-containers >= 0.2 && < 0.3,
383 unordered-containers >= 0.2 && < 0.3,
@@ -442,6 +441,10 @@ library
442 build-depends: basement >= 0.0.10,
441 build-depends: basement >= 0.0.10,
443 foundation >= 0.0.23
442 foundation >= 0.0.23
444 -- basement 0.0.9 won't build on 32-bit windows.
443 -- basement 0.0.9 won't build on 32-bit windows.
445+ hs-source-dirs: prelude
446+ other-modules: Prelude
447+ build-depends: base-compat >= 0.9
445 if os(windows)
448 if os(windows)
446 cpp-options: -D_WINDOWS
449 cpp-options: -D_WINDOWS
@@ -469,8 +472,7 @@ library
470 default-language: Haskell2010
473 default-language: Haskell2010
471 other-extensions: NoImplicitPrelude
474 other-extensions: NoImplicitPrelude
472− hs-source-dirs: src,
475+ hs-source-dirs: src
475 exposed-modules: Text.Pandoc,
477 exposed-modules: Text.Pandoc,
476 Text.Pandoc.App,
478 Text.Pandoc.App,
@@ -564,8 +566,7 @@ library
564 Text.Pandoc.ImageSize,
566 Text.Pandoc.ImageSize,
565 Text.Pandoc.BCP47,
567 Text.Pandoc.BCP47,
566 Text.Pandoc.Class
568 Text.Pandoc.Class
567− other-modules: Prelude,
568− Text.Pandoc.App.CommandLineOptions,
569+ other-modules: Text.Pandoc.App.CommandLineOptions,
569 Text.Pandoc.App.FormatHeuristics,
570 Text.Pandoc.App.FormatHeuristics,
570 Text.Pandoc.App.Opt,
571 Text.Pandoc.App.Opt,
571 Text.Pandoc.App.OutputSettings,
572 Text.Pandoc.App.OutputSettings,
@@ -642,19 +643,19 @@ library
642 buildable: True
643 buildable: True
644executable pandoc
645executable pandoc
645− build-depends: pandoc,
646+ build-depends: pandoc, base >= 4.8 && < 5
646− base-noprelude >= 4.8 && < 5,
647+ if impl(ghc < 8.4)
648+ hs-source-dirs: prelude
649+ other-modules: Prelude
647− base-compat >= 0.9
650+ build-depends: base-compat >= 0.9
648 if flag(static)
651 if flag(static)
649 ld-options: -static
652 ld-options: -static
650 default-language: Haskell2010
653 default-language: Haskell2010
651 other-extensions: NoImplicitPrelude
654 other-extensions: NoImplicitPrelude
652 hs-source-dirs: .
655 hs-source-dirs: .
654 main-is: pandoc.hs
656 main-is: pandoc.hs
655 buildable: True
657 buildable: True
656− other-modules: Paths_pandoc,
658+ other-modules: Paths_pandoc
658 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
659 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
659 -Wall -fno-warn-unused-do-bind
660 -Wall -fno-warn-unused-do-bind
660 -Wincomplete-record-updates
661 -Wincomplete-record-updates
@@ -669,16 +670,19 @@ executable pandoc
670executable trypandoc
671executable trypandoc
671 main-is: trypandoc.hs
672 main-is: trypandoc.hs
672− hs-source-dirs: trypandoc, prelude
673+ hs-source-dirs: trypandoc
673 default-language: Haskell2010
674 default-language: Haskell2010
674 other-extensions: NoImplicitPrelude
675 other-extensions: NoImplicitPrelude
675− other-modules: Prelude
676 if flag(trypandoc)
676 if flag(trypandoc)
677− build-depends: base-noprelude, base-compat >= 0.9, aeson, pandoc,
677+ build-depends: base, aeson, pandoc,
678 text, wai-extra, wai >= 0.3, http-types
678 text, wai-extra, wai >= 0.3, http-types
679 buildable: True
679 buildable: True
681 buildable: False
681 buildable: False
683+ hs-source-dirs: prelude
684+ other-modules: Prelude
685+ build-depends: base-compat >= 0.9
682 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
686 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
683 -Wall -fno-warn-unused-do-bind
687 -Wall -fno-warn-unused-do-bind
684 -Wincomplete-record-updates
688 -Wincomplete-record-updates
@@ -694,16 +698,18 @@ executable trypandoc
694benchmark weigh-pandoc
698benchmark weigh-pandoc
695 type: exitcode-stdio-1.0
699 type: exitcode-stdio-1.0
696 main-is: weigh-pandoc.hs
700 main-is: weigh-pandoc.hs
697− hs-source-dirs: benchmark,
701+ hs-source-dirs: benchmark
699 build-depends: pandoc,
702 build-depends: pandoc,
700− base-noprelude >= 4.8 && < 5,
703+ base >= 4.8 && < 5,
703 weigh >= 0.0 && < 0.1,
705 weigh >= 0.0 && < 0.1,
704 mtl >= 2.2 && < 2.3
706 mtl >= 2.2 && < 2.3
708+ hs-source-dirs: prelude
709+ other-modules: Prelude
710+ build-depends: base-compat >= 0.9
705 default-language: Haskell2010
711 default-language: Haskell2010
706− other-modules: Prelude
712+ other-extensions: NoImplicitPrelude
707 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
713 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
708 -Wall -fno-warn-unused-do-bind
714 -Wall -fno-warn-unused-do-bind
709 -Wincomplete-record-updates
715 -Wincomplete-record-updates
@@ -720,10 +726,8 @@ benchmark weigh-pandoc
720test-suite test-pandoc
726test-suite test-pandoc
721 type: exitcode-stdio-1.0
727 type: exitcode-stdio-1.0
722 main-is: test-pandoc.hs
728 main-is: test-pandoc.hs
723− hs-source-dirs: test,
729+ hs-source-dirs: test
725− build-depends: base-noprelude >= 4.8 && < 5,
730+ build-depends: base >= 4.8 && < 5,
728 pandoc-types >= 1.20 && < 1.21,
732 pandoc-types >= 1.20 && < 1.21,
729 mtl >= 2.2 && < 2.3,
733 mtl >= 2.2 && < 2.3,
@@ -749,8 +753,11 @@ test-suite test-pandoc
749 xml >= 1.3.12 && < 1.4,
753 xml >= 1.3.12 && < 1.4,
750 doctemplates >= 0.8.2 && < 0.9,
754 doctemplates >= 0.8.2 && < 0.9,
751 Glob >= 0.7 && < 0.11
755 Glob >= 0.7 && < 0.11
757+ hs-source-dirs: prelude
752− other-modules: Prelude
758+ other-modules: Prelude
759+ build-depends: base-compat >= 0.9
753− Tests.Old
760+ other-modules: Tests.Old
754 Tests.Command
761 Tests.Command
755 Tests.Helpers
762 Tests.Helpers
756 Tests.Lua
763 Tests.Lua
@@ -806,6 +813,7 @@ test-suite test-pandoc
806 if os(windows)
813 if os(windows)
807 cpp-options: -D_WINDOWS
814 cpp-options: -D_WINDOWS
808 default-language: Haskell2010
815 default-language: Haskell2010
816+ other-extensions: NoImplicitPrelude
809 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
817 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
810 -Wall -fno-warn-unused-do-bind
818 -Wall -fno-warn-unused-do-bind
811 -Wincomplete-record-updates
819 -Wincomplete-record-updates
@@ -822,17 +830,19 @@ test-suite test-pandoc
822benchmark benchmark-pandoc
830benchmark benchmark-pandoc
823 type: exitcode-stdio-1.0
831 type: exitcode-stdio-1.0
824 main-is: benchmark-pandoc.hs
832 main-is: benchmark-pandoc.hs
825− hs-source-dirs: benchmark,
833+ hs-source-dirs: benchmark
827 build-depends: pandoc,
834 build-depends: pandoc,
828 time, bytestring, containers,
835 time, bytestring, containers,
829− base-noprelude >= 4.8 && < 5,
836+ base >= 4.8 && < 5,
831 text >= 1.1.1.0 && < 1.3,
837 text >= 1.1.1.0 && < 1.3,
832 mtl >= 2.2 && < 2.3,
838 mtl >= 2.2 && < 2.3,
833 criterion >= 1.0 && < 1.6
839 criterion >= 1.0 && < 1.6
841+ hs-source-dirs: prelude
842+ other-modules: Prelude
843+ build-depends: base-compat >= 0.9
834 default-language: Haskell2010
844 default-language: Haskell2010
835− other-modules: Prelude
845+ other-extensions: NoImplicitPrelude
836 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
846 ghc-options: -rtsopts -with-rtsopts=-K16m -threaded
837 -Wall -fno-warn-unused-do-bind
847 -Wall -fno-warn-unused-do-bind
838 -Wincomplete-record-updates
848 -Wincomplete-record-updates