git.iko.soy/typeable/pandoc
on master help sign in
Fix cabal to use base-compat with ghc < 7.10.
commit2cd5b55d51002bb2a8d107a47c5b5b53a42da0fd authorJohn MacFarlane <jgm@berkeley.edu> dateSun 14 Jan 2018, 22:50 (9 years ago) parent3156722
1 file changed+7−2
pandoc.cabal+7−2
pandoc.cabal+7−2
@@ -418,6 +418,7 @@ library
418418 if impl(ghc < 7.10)
419419 hs-source-dirs: prelude
420420 other-modules: Prelude
421+ build-depends: base-compat >= 0.9
421422
422423 exposed-modules: Text.Pandoc,
423424 Text.Pandoc.App,
@@ -562,6 +563,7 @@ executable pandoc
562563 if impl(ghc < 7.10)
563564 hs-source-dirs: prelude
564565 other-modules: Prelude
566+ build-depends: base-compat >= 0.9
565567 main-is: pandoc.hs
566568 buildable: True
567569 other-modules: Paths_pandoc
@@ -572,6 +574,7 @@ executable trypandoc
572574 if impl(ghc < 7.10)
573575 hs-source-dirs: prelude
574576 other-modules: Prelude
577+ build-depends: base-compat >= 0.9
575578 default-language: Haskell2010
576579 if flag(trypandoc)
577580 build-depends: base, aeson, pandoc,
@@ -586,6 +589,7 @@ executable weigh-pandoc
586589 if impl(ghc < 7.10)
587590 hs-source-dirs: prelude
588591 other-modules: Prelude
592+ build-depends: base-compat >= 0.9
589593 if flag(weigh-pandoc)
590594 build-depends: pandoc,
591595 base >= 4.2 && < 5,
@@ -605,6 +609,7 @@ test-suite test-pandoc
605609 if impl(ghc < 7.10)
606610 hs-source-dirs: prelude
607611 other-modules: Prelude
612+ build-depends: base-compat >= 0.9
608613 build-depends: base >= 4.2 && < 5,
609614 pandoc,
610615 pandoc-types >= 1.17.3 && < 1.18,
@@ -626,8 +631,7 @@ test-suite test-pandoc
626631 containers >= 0.4.2.1 && < 0.6,
627632 executable-path >= 0.0 && < 0.1,
628633 zip-archive >= 0.2.3.4 && < 0.4,
629− xml >= 1.3.12 && < 1.4,
630− base-compat >= 0.9
634+ xml >= 1.3.12 && < 1.4
631635 if flag(old-locale)
632636 build-depends: old-locale >= 1 && < 1.1,
633637 time >= 1.2 && < 1.5
@@ -688,6 +692,7 @@ benchmark benchmark-pandoc
688692 if impl(ghc < 7.10)
689693 hs-source-dirs: prelude
690694 other-modules: Prelude
695+ build-depends: base-compat >= 0.9
691696 build-depends: pandoc,
692697 time, bytestring, containers,
693698 base >= 4.2 && < 5,