-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
rustPlatform.fetchCargoVendor: fetch git submodules #356415
rustPlatform.fetchCargoVendor: fetch git submodules #356415
Conversation
0b7b447
to
58e265d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you run a nixpkgs-review on this to see if the other packages using this fetcher have their hash changed?
Checked all other uses of
and their hash didn't change, so it seems like they don't use submodules |
|
|
|
I'll merge this in an hour. |
Sure, I was just waiting for eval. |
Related PR, where this issue was discovered: #356385
Looks like I missed that
fetchgit
hasfetchSubmodules
set totrue
by default, so when I was copying theimportCargoLock
implementation, I did not also fetch the submodules like (it turns out) it did.fetchgit
defaults:nixpkgs/pkgs/build-support/fetchgit/default.nix
Lines 14 to 33 in 7b16c13
importCargoLock
callingfetchgit
:nixpkgs/pkgs/build-support/rust/import-cargo-lock.nix
Lines 148 to 152 in 7b16c13
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.