stack setup
should not fail if it couldn't download default stack-setup-yaml
#2913
Labels
Milestone
stack setup
should not fail if it couldn't download default stack-setup-yaml
#2913
Our build environment is isolated from the internet. Recently we've put into service a new
build machine with latest stack (reproduced on 05acb2c) and discovered that
stack setup
build step fails with an error (part of output from
stack setup -v
):Other machines pass this build step because earlier versions of stack cached everything needed.
A small investigation showed that stack always tries to download default stack-setup.yaml
(https://github.com/commercialhaskell/stack/blob/05acb2c/src/Stack/Setup.hs#L735)
and errors if it couldnt.
I think, in case when stack-setup.yaml is unavailable, stack should
issue a warning and continue with processing setup-info from config.
some details
relevant parts of
stack.yaml
:stack version
The text was updated successfully, but these errors were encountered: