From 659b9c9d3224d41ef5a6eefc631076036869c13d Mon Sep 17 00:00:00 2001 From: "Christian G. Warden" Date: Tue, 30 May 2017 07:26:24 -0700 Subject: [PATCH] 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). --- Shake.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Shake.hs b/Shake.hs index 0cbfe1f37..9e8b15f6e 100755 --- a/Shake.hs +++ b/Shake.hs @@ -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"