[Haskell-beginners] Patch source, then pickup compile
James Toll
james at jtoll.com
Sat Sep 20 01:48:36 UTC 2014
Hi,
I’m trying to install Hakyll within a cabal sandbox. The issue I’m running into is that the current version of Pandoc doesn’t build because of this bug:
https://github.com/jgm/pandoc/issues/1590
The bug is a simple fix, and is fixed on github, but not in the version on hackage. I’d like to use ‘cabal get’ to download the source, manually fix the source, then compile. The question I have is how do I pick up the installation process after fixing the source?
So far this is what I’ve done:
$ mkdir hakyll
$ cabal update
$ cd hakyll
$ cabal sandbox init --sandbox .
$ cabal install -j hakyll
[this is the spot where pandoc fails to install]
$ cabal get pandoc-1.13.1
$ cd pandoc-1.13.1/
[patch the source]
At this point I need to resume the compilation and installation process. How do I do that? Do I move back up to the parent directory and then issue the 'cabal install -j hakyll’ command again?
Thanks,
James
More information about the Beginners
mailing list