-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack build should check whether git is available #2241
Comments
I'm under the impression that there were more problems here:
|
This is on a gitlab builder, usind a docker image for haskell-7.10.3. Here is a typical build that works, but still produces a lot of noise: https://gitlab.imn.htwk-leipzig.de/waldmann/pure-matchbox/builds/931 |
We should probably move |
Alternatively, there's |
So... at least on OS X, this seems to also relate to BTW, using Experiment:
A problem is, in some functions different exceptions are thrown (unlike documented) for when the executable is missing and for when launching it fails. |
After lots of confusing investigation on
|
@jwaldmann since you mentioned that you're on Gitlab-CI with the
before the
is much easier :-) See https://docs.haskellstack.org/en/stable/docker_integration/#image-repositories for other available images. |
I was running
stack build
on a (virtual) machine, with some github locations in stack.yaml. I got errors likeThe reason is that my machine did not have
git
installed.Looks like
stack
calledgit
, but did not check the exit (error) code.The text was updated successfully, but these errors were encountered: