haskell-stack-mirror-script
haskell-stack-mirror-script copied to clipboard
Updates needed to work with Stack versions >= 2.1.1
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-indicesnow requireshackage-security(see here). I think a workaround for this could be:package-indices: - name: Hackage download-prefix: $MIRROR_URL/packages/ http: $MIRROR_URL/01-index.tar.gz hackage-security: keyids: [""] key-threshold: 0lts-build-plansandnightly-build-plansare no longer supported. As far as I can tell, there's no alternative/workaround for this. It looks like one can workaround this on a per project basic though by specifying a snapshot location instack.yaml(see here). So adding a note about that to the readme might be helpful.
Thank you for the report. Unfortunatelly, I cannot check nor fix it in the nearest 2-3 weeks.