-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
stack fails on Windows with git package in stack.yaml and no git binary on path #712
Comments
Are you using a system-installed GHC in this case? What is the resolution you're proposing here? Obviously git is necessary in order to execute the build plan. |
No, there is no system-installed ghc or git. The The requested resolution is for |
This allows the Git installed by `stack setup` to be used
Thanks, that clarifies. I've just pushed a commit to the 712-clone-modified-env branch that should resolve this. Can you give it a try and, if it works correctly for you, I'll merge to master and close out this issue. |
Works perfectly. Thanks! |
Cool, merged to master. |
On a Windows system with no
git
on the system/user %PATH% and a git repository package instack.yaml
,stack
(sometimes?) completely fails within the project folder.This condition is fragile. After adding
git.exe
to the %PATH% and runningstack build
(which succeeds), and then opening a new shell with the original %PATH%,stack
functions normally again, even afterstack clean
. I don't know what the exact preconditions for the buggy behavior are.The text was updated successfully, but these errors were encountered: