-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 doesn't fetch submodules #2151
Comments
This is a pretty big blocker for me. I can't reasonably use builtins.fetchGit without submodule support. |
At least when building with src = fetchgit {
url = "https://github.com/GaloisInc/some-repo.git";
deepClone = true;
sha256 = ...;
rev = ...;
}; |
This is also a blocker for me. Specifically when it comes to private git repositories that have submodules. nix/src/libexpr/primops/fetchGit.cc Line 125 in 18b4c53
It looks like the current approach with a bare repository and cc @nh2, Thanks for the help! |
This issue causes difficult to debug error messages when trying to package PyToch 1.1 (NixOS/nixpkgs#63073), and probably elsewhere, too. I took a clumsy stab at getting nested level of 2 to work with no luck: NixOS/nixpkgs@master...tbenst:pytorch11#diff-8c857b370607b23d073067f7df717593 |
Any progress/interest on this one? |
@qolii might want to check out NixOS/nixpkgs#61820 (comment). I'm no longer sure if this issue is valid? |
I think fetchGit is still somewhat preferred if private repos are used. Somebody please correct me if I’m wrong. |
Exactly. From my reading, NixOS/nixpkgs#61820 is using |
I also ended up here, because I wanted to clone a private repository with submodules. |
Ok, so, I should have actually paid attention to @NorfairKing's comment earlier. Sorry! Did you make any progress with your |
@qolii I made no attempt to 'fix' this issue. I'm working around it by making my repos public :) |
Finally it's happening. Can't wait for the next release. ❤️ |
Any news on when this will be included in a release? |
No description provided.
The text was updated successfully, but these errors were encountered: