Skip to content

[Backport release-25.11] rustPlatform.buildRustPackage: fix cargoDeps inherited attribute overriding - #514458

Closed
nixpkgs-ci[bot] wants to merge 1 commit into
release-25.11from
backport-435239-to-release-25.11
Closed

nixpkgs-ci[bot] wants to merge 1 commit into
release-25.11from
backport-435239-to-release-25.11

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

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

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.

…riding

Make `<rust-package>.cargoDeps` reference the overridden
`<rust-package>.src` and other attributes.

Let `stdenv.mkDerivation` handle the name of `<rust-package>.cargoDeps`.

Make Rust package overriding *possible*
before making further design decisions about the
`<pkg>.overrideAttrs` interface.

(cherry picked from commit 04c3e0d)
@nixpkgs-ci
nixpkgs-ci Bot requested a review from ShamrockLee April 28, 2026 16:15
@nixpkgs-ci
nixpkgs-ci Bot requested review from winterqt and zowoq April 28, 2026 16:21
@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 Apr 28, 2026
@yayayayaka yayayayaka closed this Jul 1, 2026
@jopejoe1
jopejoe1 deleted the backport-435239-to-release-25.11 branch September 27, 2026 20:33
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.

2 participants