From 80af713743336a31daccfc3e725773153c4eaf6c Mon Sep 17 00:00:00 2001 From: Gabor Pali <pali.gabor@gmail.com> Date: Sun, 24 Aug 2014 16:49:26 +0200 Subject: [PATCH] Fix build dependencies for the trypandoc flag. Build dependencies of the trypandoc executable are required, regardless of the trypandoc flag was set to either True or False. Correct package description to make them truly optional. --- pandoc.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandoc.cabal b/pandoc.cabal index ce3b75971..2a7b17d39 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -374,10 +374,10 @@ Executable pandoc Executable trypandoc Main-Is: trypandoc.hs Hs-Source-Dirs: trypandoc - build-depends: base, aeson, pandoc, highlighting-kate, - text, wai-extra, wai >= 0.3, http-types default-language: Haskell2010 if flag(trypandoc) + build-depends: base, aeson, pandoc, highlighting-kate, + text, wai-extra, wai >= 0.3, http-types Buildable: True else Buildable: False