-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
treewide: migrate to the new rust fetcher #356385
treewide: migrate to the new rust fetcher #356385
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
7f2f0e1
to
1494a33
Compare
@ofborg build alfis workstyle mullvad chiptrack cloud-hypervisor conduwuit |
@ofborg build cloud-hypervisor |
Looks like a hash mismatch for cargoHash, could you take care of it for me and push? Not near a computer right now. |
Consistently gets |
Let's hold any mass migrations until this is resolved. Very weird, only some packages are affected, in others the hash is rock solid. Is it because of |
@ofborg build cloud-hypervisor |
I somehow reproduced the other hash locally, will do some testing to see what triggered it. And yes, it seems like it is because of submodules. |
Update: it is just that, submodules. Nothing fancy. It just turns out I just wasn't rebased on the latest master when locally reproducing the earlier hash... In any case I'll just update the hash, then |
1eba5f2
to
1317df3
Compare
By the way, did some searching and it looks like cargo's own git fetcher respects a setting that would make certain git deps not fetch their submodules: I don't think we should bother to respect that. The more files we fetch, the less likely it is that the current implementation can't handle some edge case. |
|
Not sure if you intend to add more packages and which, but for e.g. zed-editor I migrated to the new fetcher in #356757 and it works fine. |
There are still some kinks to iron out, but the submodule stuff should have been the last change that could actually change the hash. Just opened #356821 which decreases the concurrency to some more sane values. |
1317df3
to
21dc39e
Compare
@ofborg build alfis workstyle mullvad chiptrack cloud-hypervisor conduwuit xdg-desktop-portal-cosmic |
|
I do not intend to migrate all packages with a Cargo.lock in nixpkgs in this PR, in fact I think it's just more rebuild work, and the packages should be either mass migrated, or migrated when updating. The packages listed here were decided randomly, and my goal was to find and iron out the bugs before the mass migration and adoption by other packages. Mass migration PR: #356862 |
@TomaSajt when running nixpkgs-review. https://termbin.com/o9z9
|
21dc39e
to
eee0a2c
Compare
There was a hash mismatch with cloud-hypervisor. Fixed. |
I guess you forgot to reset your branch to the upstream one, so you accidentally overrode my fixed hash with the outdated one when rebasing. |
@TomaSajt hypervisor and mullvad is failing to be built in nixpkgs-review (ran after garbage collecting) due to maximum no of retries hit (not because of a hash error) While Hydra and Ofborg may not necessarily hit the limit (due to low amount of cores and threads per job), running mass rebuilds in nixpkgs-review will be a pain with this |
You could add a temporary commit on top of the PR that increases the retry count, like shown before. |
Gonna merge this, since eval passed along with a nixpkgs-review The above retry issue will be solved by #357262 |
Followup of #349360
CC: #327063
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.