<div dir="ltr">Hi,<div><br></div><div>Does<div><br></div><div>    stack build --prefetch --dry-run</div><div><br></div><div>get close to what you want? That seems to download all the necessary packages, and by using stack you get the ability to share compiled dependencies between packages.</div></div><div><br></div><div>Cheers,</div><div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 24 November 2016 at 06:57, Jan von Löwenstein <span dir="ltr"><<a href="mailto:jan.loewenstein@gmail.com" target="_blank">jan.loewenstein@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Consider the following use case:</div><div>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.</div><div><br></div><div>Is that possible with Stack or Cabal?</div><div>Any pointers would be much appreciated.</div><div> </div><div>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.</div><div><br></div><div>Best</div><span class="HOEnZb"><font color="#888888"><div>Jan</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell-<wbr>cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br></blockquote></div><br></div>