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.
This commit is contained in:
parent
0ef1f787c7
commit
80af713743
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue