
15 Apr
2015
15 Apr
'15
5:49 a.m.
Still on the topic of reducing installation dependencies: are self-contained binaries in the style of pandoc [1] doable for gitit and other Haskell packages as well? This could be an interesting way to address the issue.
It is possible to compile pandoc such that the data files pandoc uses are embedded in the binary. (The executables in the binary are built this way.) The resulting binary can be run from any directory and is completely self-contained.
cabal update cabal install hsb2hs cabal install --flags="embed_data_files" pandoc pandoc-citeproc
[1] http://pandoc.org/installing.html#creating-a-relocatable-binary