[Haskell-cafe] Offline compilation with Stack/Cabal

Jan von Löwenstein jan.loewenstein at gmail.com
Thu Nov 24 06:57:57 UTC 2016


Consider the following use case:
I have to ship a Haskell application as source, bundled with its
dependencies and a script that can produce the binary on a machine without
internet connectivity.

Is that possible with Stack or Cabal?
Any pointers would be much appreciated.

Ideally I would like to build each dependency package individually. That
way I could cache results per Haskell package and don't need to rebuild
dependencies until they actually change.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20161124/05627a35/attachment.html>

More information about the Haskell-Cafe mailing list