Hello,

That's the question that bugs me a lot recently.
Mine has a twist though. I'd like to have multiple resolvers available 
(with their resp. GHCs), but only a subset of the packages needed to build 
my projects with.
You could make a complete mirror with haskell-stack-mirror-script[1], but 
it'll take ~30GB and some time.
What I need is a stack-root-in-a-box you can drop to a new machine and get 
building.

I've started (yet again) to produce such a tool that, given a config with 
projects and paths, would produce an immutable stack root with dependencies 
preinstalled.
And then maybe wrap it up as a deb package / docker image / remote upload...

[1]: https://github.com/AleXoundOS/haskell-stack-mirror-script

On Friday, December 8, 2017 at 9:37:57 AM UTC+3, Greg Steuck wrote:
>
> How hard is it to keep an offline stack environment?
>
> Imagine I have sufficient disk and occasional network connectivity. I want 
> to download everything I may ever need for using a fixed version of stack 
> (1.6.1) and a fixed version of resolver (lts-9.17).
>
> I want to be in a position where I can run any stack command while 
> disconnected and have it not access the network even as my project grows 
> more dependencies within lts boundaries.
>
> I tried to search Google for things similar to this with only 2 year old 
> stack-offline <https://github.com/cblp/stack-offline> matching my search. 
> Is it the best option out there?
>
> Thanks
> Greg
>

-- 
You received this message because you are subscribed to the Google Groups 
"haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/haskell-stack/c8fce138-e87b-4e40-9bb5-4d20a8ebff7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to