Skip to content
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

fix git cache 'corruption' when git not available, breaks all future use of fetchGit #1787

Merged
merged 2 commits into from Jan 9, 2018

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Jan 9, 2018

There's no guarantee git exists anywhere on the system-- I ran into this yesterday while trying to use 1.12 on a fresh server, for example.

Before this fix (see test) attempts to use fetchGit create broken cache directory and caused all subsequent invocations involving fetchGit--after installing git-- to fail until I nuked the cache.

@edolstra edolstra merged commit 3cd0704 into NixOS:master Jan 9, 2018
@dtzWill dtzWill deleted the fix/git-not-on-PATH branch January 10, 2018 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants