[arch-haskell] Fwd: gitit status update and why are deps needed for binaries
Bastien Traverse
neitsab at esrevart.net
Wed Apr 15 09:49:43 UTC 2015
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
More information about the arch-haskell
mailing list