@@ -1,3 +1,4 @@
1+{-# LANGUAGE CPP #-}
12{-# LANGUAGE NoImplicitPrelude #-}
23{-# LANGUAGE FlexibleInstances #-}
34{-# LANGUAGE TypeSynonymInstances #-}
@@ -100,7 +101,11 @@ findPandoc = do
100101 "test-pandoc" : "build" : ps
101102 -> joinPath (reverse ps) </> "build" </> "pandoc"
102103 _ -> error $ "findPandoc: could not find pandoc executable")
104+#ifdef _WINDOWS
105+ </> "pandoc" <.> "exe"
106+#else
103107 </> "pandoc"
108+#endif
104109 found <- doesFileExist pandocPath
105110 if found
106111 then return pandocPath