Skip to content

[Backport release-25.11] rustPlatform.importCargoLock: download crates from static.crates.io - #524988

Merged
philiptaron merged 1 commit into
release-25.11from
backport-524985-to-release-25.11
May 27, 2026
Merged

philiptaron merged 1 commit into
release-25.11from
backport-524985-to-release-25.11

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Bot-based backport to release-25.11, triggered by a label in #524985.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

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 #512735.

fetchurl is content-addressed by sha256, so the URL change does not affect
any downstream store paths.

Fixes #524979

(cherry picked from commit f830e61)
@nixpkgs-ci
nixpkgs-ci Bot requested a review from philiptaron May 27, 2026 20:04
@philiptaron
philiptaron enabled auto-merge May 27, 2026 20:07
@philiptaron
philiptaron added this pull request to the merge queue May 27, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from winterqt and zowoq May 27, 2026 20:09
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 4.workflow: backport This targets a stable branch labels May 27, 2026
Merged via the queue into release-25.11 with commit c767db5 May 27, 2026
28 checks passed
@philiptaron
philiptaron deleted the backport-524985-to-release-25.11 branch May 27, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant