Use pandoc From Stackage Snapshot (#558)

Use pandoc from stackage snapshot when building documentation to ensure
that pandoc and the pandoc filters are built against the same version of
pandoc-types; otherwise, the filters can fail with an obtuse error (see
https://github.com/jgm/pandoc/issues/3217).
This commit is contained in:
Christian G. Warden 2017-05-30 07:26:24 -07:00 committed by Simon Michael
parent dca7ffc10b
commit 659b9c9d32

View File

@ -68,8 +68,7 @@ usage = unlines
,"./Shake --help # show options, eg --color"
]
pandoc = "pandoc" -- pandoc from PATH (faster)
-- "stack exec -- pandoc" -- pandoc from project's stackage snapshot
pandoc = "stack exec -- pandoc" -- pandoc from project's stackage snapshot
hakyllstd = "site/hakyll-std/hakyll-std"
makeinfo = "makeinfo"
-- nroff = "nroff"