util/GenerateManpage.hs and latest pandoc

Hi, with the latest pandoc, shipped in LTS-3, util/GenerateManpage.hs is broken: ghc util/GenerateManpage.hs [1 of 1] Compiling Main ( util/GenerateManpage.hs, util/GenerateManpage.o ) util/GenerateManpage.hs:45:1: Non type-variable argument in the constraint: RegexContext Regex source1 [[[Char]]] (Use FlexibleContexts to permit this) When checking that `guessKeys' has the inferred type guessKeys :: forall source1. (RegexContext Regex source1 [[[Char]]], RegexContext Regex source1 (String, String, String, [String])) => source1 -> [Char] util/GenerateManpage.hs:84:11: Couldn't match expected type `Pandoc' with actual type `Either Text.Pandoc.Error.PandocError Pandoc' In the second argument of `($)', namely `parsed' In a stmt of a 'do' block: writeFile "./man/xmonad.1" . (manHeader ++) . writeMan (writeOpts {writerStandalone = True, writerTemplate = template}) $ parsed util/GenerateManpage.hs:99:11: Couldn't match expected type `Pandoc' with actual type `Either Text.Pandoc.Error.PandocError Pandoc' In the second argument of `($)', namely `parsed' In a stmt of a 'do' block: writeFile "./man/xmonad.1.html" . writeHtmlString (writeOpts {writerVariables = [("include-before", "<h1>" ++ releaseName ++ "</h1>" ++ "<p>Section: xmonad manual (1)<br/>" ++ "Updated: " ++ releaseDate ++ "</p>" ++ "<hr/>")], writerStandalone = True, writerTemplate = template, writerTableOfContents = True}) $ parsed make: *** [build/xmonad] Error 1 Greetings, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0xF0FBF51F Debian Developer: nomeata@debian.org
participants (1)
-
Joachim Breitner