-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
builtins.fetchGit requires git #3533
Comments
What really should be done, if git isn't found, it should bail out with a helpful error. |
Pretty outdated now, but I tried to improve the errors in #2498 |
Fixing could be done with something similar to #3565 |
@edolstra was taking a look at this, any suggestion on how to make InstallableFlake accessible in libfetcher like you mentioned in #3565 (comment)? |
I marked this as stale due to inactivity. → More info |
Shouldn't this be fixed by just wrapping Nix itself with git, tar and other tools needed at runtime? |
I agree. Is Nix a special case? Generally if something needs to call a binary, it should be wrapped or patched to call the binary from a nix store path. |
I marked this as stale due to inactivity. → More info |
Hi! I have the same problem today: I can't use My workaround is running It works but it is does not seem ideal. |
There's a similar issue when trying to use |
When using
builtins.fetchGit
, thenix-build
command won't work if:git
program is not installed on the system-C <path>
is not supported)I am testing on non-nix linux distributions.
This does not look right. The
builtins.fetchGit
obviously depends on the correct version of thegit
program. I would expect thatnix
would build/downloadgit
automatically when required and the correct version is used, even if some other version is installed on the system.The text was updated successfully, but these errors were encountered: