[Haskell-cafe] Stack: Copying possible?

Rustom Mody rustompmody at gmail.com
Wed Nov 11 13:45:10 UTC 2015


On Wed, Nov 11, 2015 at 7:06 PM, Emanuel Borsboom <manny at fpcomplete.com>
wrote:

> Compiled Haskell libraries and GHC installations are not generally
> relocatable to a different path.  So in theory copying ~/.stack between
> machines should work if your home directory is in the same place on the
> filesystem (and the architecture matches), but won't work if your home
> directory changes.
>
>
Just checked
Removed from ~/.stack/programs/x86_64-linux both
- ghc.7.10.2 (directory)
- ghc-7.10.2.installed

And reran
$ stack setup

The messages seemed to say something the the effect "already downloaded"
Spent some  time setting up...

And now
$ stack ghci
seems to be working.

Also now all references to the old username
on grepping in ~/.stack seem to have vanished


So is this ok or improper... ???
May the experts opine!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20151111/2f189aab/attachment.html>


More information about the Haskell-Cafe mailing list