Skip to content

[Backport release-26.05] rustPlatform.importCargoLock: download crates from static.crates.io - #524989

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

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

Conversation

@nixpkgs-ci

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

Copy link
Copy Markdown
Contributor

Bot-based backport to release-26.05, 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 a review from winterqt May 27, 2026 20:09
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 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-26.05 with commit 6fefc7c May 27, 2026
28 checks passed
@philiptaron
philiptaron deleted the backport-524985-to-release-26.05 branch May 27, 2026 20:15
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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant