AFAIK ghc 8 and greater is good... btw, if you have trouble with cabal I can highly recommend stack instead:
https://github.com/jgm/pandoc/blob/master/INSTALL.md#quick-stack-methodOn Sunday, February 5, 2017 at 11:41:24 AM UTC+1, Axel Kielhorn wrote:
> Am 04.02.2017 um 17:39 schrieb John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>:
>
> It's a known issue, which I don't know exactly how to fix.
> For now, we're not supporting ghc 7.8 for pandoc 2.
The cabal file says:
Tested-With: GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
Well, I upgraded to 8.0.2 which was probably a mistake, because now I get:
cabal: Entering directory '.'
Configuring pandoc-2.0...
setup: failed to parse output of 'ghc-pkg dump'
cabal: Leaving directory ‚.'
Pandoc 1.9.2.1 from cabal build without problems.
Should I go back to 7.10.2 or 8.0.1?
Axel