Try using cabal to install pandoc