Closed
Description
$ stack init --force
Writing default config file to: /home/simon/src/stack/test/integration/tests/1198-multiple-exes-with-same-name/files/stack.yaml
Basing on cabal files:
- /home/simon/src/stack/test/integration/tests/1198-multiple-exes-with-same-name/files/has-exe-foo.cabal
- /home/simon/src/stack/test/integration/tests/1198-multiple-exes-with-same-name/files/also-has-exe-foo/also-has-exe-foo.cabal
- /home/simon/src/stack/test/integration/tests/1198-multiple-exes-with-same-name/files/has-exe-foo-too/has-exe-foo-too.cabal
Unable to download snapshot list, and therefore could not generate a stack.yaml file automatically
This sometimes happens due to missing Certificate Authorities on your system. For more information, see:
https://github.com/commercialhaskell/stack/issues/234
You can try again, or create your stack.yaml file by hand. See:
https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md
Exception was: FailedConnectionException "s3.amazonaws.com" 443
There was no snapshot found that matched the package bounds in your .cabal files.
Please choose one of the following commands to get started.
You'll then need to add some extra-deps. See:
https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md#extra-deps
You can also try falling back to a dependency solver with:
stack init --solver
Instead of giving up and pointing me at internet ressources right when I seem to have connectivity problems, stack should have created a stack.yaml using the latest snapshot on the system.
The output here could take some improvements too:
Writing default config file to: /home/simon/src/stack/test/integration/tests/1198-multiple-exes-with-same-name/files/stack.yaml
isn't quite correct: the stack.yaml isn't generated.Please choose one of the following commands to get started. <...nothing>
?- The sample project in this case doesn't need any extra-deps.
Also, couldn't the documentation I'm referred to be installed my system instead?