haskell-stack-mirror-script
haskell-stack-mirror-script copied to clipboard
Bash script that downloads a full set of available stack and hackage resources ready to be mirrored offline.
It looks like Stack changed a bunch of stuff in version 2 that effects this project. So far they all seem to relate to the `config.yaml` file: * `package-indices` now...
"stack new" fails because of hard-coded urls for fetching templates. You have to manually specify url/path to the desired template. Related to *stack* issue: commercialhaskell/stack#2804
In order to run `stack setup` you have to supply a path to "mirror/stack-setup-mirror.yaml" manually with `--setup-info-yaml` option every time. This is due to inability of *stack* to use `setup-info:`...