Repository navigation
rustPlatform.importCargoLock: download crates from static.crates.io - #10
Merged
Merged
Conversation
The crates.io API server's 1 req/sec rate limit currently surfaces as intermittent HTTP 403 errors when vendoring lockfiles. Switch to the CDN endpoint as recommended by upstream (rust-lang/crates.io#13482), mirroring the fix already applied to fetchCargoVendor in NixOS#512735. fetchurl is content-addressed by sha256, so the URL change does not affect any downstream store paths. Fixes NixOS#524979 # Conflicts: # pkgs/build-support/rust/import-cargo-lock.nix
stephenjudkins
marked this pull request as ready for review
September 1, 2026 21:22
9999years
approved these changes
Sep 1, 2026
9999years
left a comment
Member
There was a problem hiding this comment.
i think this is good, i'm assuming you've tested it locally
Member
|
ah i see the description now |
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picks NixOS#524985
I have verified this fixes this issue: https://github.com/MercuryTechnologies/mercury-web-backend/pull/89827