diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-03-17 17:10:02 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-03-17 17:10:02 -0700 |
commit | afb72f185712d134d5be2db3913c24e7bb0b33e6 (patch) | |
tree | 3fe474963bb7a7fc59b19637285d12629305b9eb | |
parent | 605545e02440c14d8b3a493b304616613efceec8 (diff) | |
download | pandoc-afb72f185712d134d5be2db3913c24e7bb0b33e6.tar.gz |
Add semigroups dependency to executables...
since custom prelude depends on it.
-rw-r--r-- | pandoc.cabal | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index e231c1541..d265c889b 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -563,6 +563,8 @@ library executable pandoc build-depends: pandoc, base >= 4.7 && < 5 + if !impl(ghc >= 8.0) + build-depends: semigroups == 0.18.* ghc-options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -threaded if flag(static) ld-options: -static @@ -588,6 +590,8 @@ executable trypandoc buildable: True else buildable: False + if !impl(ghc >= 8.0) + build-depends: semigroups == 0.18.* executable weigh-pandoc main-is: weigh-pandoc.hs @@ -602,6 +606,8 @@ executable weigh-pandoc buildable: True else buildable: False + if !impl(ghc >= 8.0) + build-depends: semigroups == 0.18.* ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind default-language: Haskell98 @@ -632,6 +638,8 @@ test-suite test-pandoc zip-archive >= 0.2.3.4 && < 0.4, xml >= 1.3.12 && < 1.4, Glob >= 0.7 && < 0.10 + if !impl(ghc >= 8.0) + build-depends: semigroups == 0.18.* if flag(old-locale) build-depends: old-locale >= 1 && < 1.1, time >= 1.2 && < 1.5 @@ -698,5 +706,7 @@ benchmark benchmark-pandoc base >= 4.2 && < 5, text >= 0.11 && < 1.3, criterion >= 1.0 && < 1.5 + if !impl(ghc >= 8.0) + build-depends: semigroups == 0.18.* ghc-options: -rtsopts -Wall -fno-warn-unused-do-bind default-language: Haskell98 |