Haskell Stack Local Server

I am behind the firewall with strict rules for downloading software from the Internet, so I would like to know if it is possible to download the entire LTS stop-tray at a time and serve it on a local server, to which we could then point the stack tool.

In the โ€œsnapshotโ€, I would like to refer to the source code for all packages, because ideally we would need to draw from this local server to create on several (stack-supported) platforms (Linux, Windows).

For example, it would be nice to be able to switch to a new machine in the firewall, then launch the โ€œstack of newโ€, and then edit the yaml file to point it to the local server of the stacks with the given resolver number, then it will behave normally since then As always, download packages from the local server.

What about compilers? I know that the stack also loads compilers, so I assume that they should be included in the downloaded snapshot package for different platforms?

thanks

+6
source share

Source: https://habr.com/ru/post/1014233/


All Articles