Skip to content
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

[Backport release-23.11]: cargo-* tools updates with newer rustPlatform #298312

Conversation

matthiasbeyer
Copy link
Contributor

Description of changes

This was extracted from #298302 to be able to talk in a dedicated PR about the following issue:

The backports are only possible because of #298206 - that's why there are patches in this PR that make the updated attributes use the rustPackages_1_76.rustPlatform to build the packages. The patches that make this change are not on master, so I don't know what the policy for such a backport is.

All other patches (the actual package update commits) are cherry-pick -xsed.

I did not (yet) run this through nixpkgs-review as #298206 has not yet landed on nixos-23.11, and I don't want to recompile rustc on my infra 😆
Once nixos-23.11 is updated, I can of course do a nixpkgs-review run on this.

Lets discuss.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@matthiasbeyer
Copy link
Contributor Author

Friendly ping @figsoda @06kellyjac @oxalica @B4dM4n @kharji

matthiasbeyer and others added 12 commits April 12, 2024 14:52
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit a2b9457)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit ffe99f3)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 0c9dbdf)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diff: https://diff.rs/cargo-tally/1.0.33/1.0.34

Changelog: https://github.com/dtolnay/cargo-tally/releases/tag/1.0.34
(cherry picked from commit 29eabaf)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 1360af0)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 782350f)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 68ee883)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit dd2251d)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 7f4bca6)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit aa68800)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit f4a2170)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit 26654903ab8423819096691ef0dc6eca352be4cd)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit ec7438f)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit edc26b1a1e7a1849b310f84d9fd03bca41d40c27)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer
Copy link
Contributor Author

Result of nixpkgs-review pr 298312 run on x86_64-linux 1

12 packages built:
  • cargo-binstall
  • cargo-chef
  • cargo-component
  • cargo-deny
  • cargo-dist
  • cargo-generate
  • cargo-llvm-lines
  • cargo-public-api
  • cargo-semver-checks
  • cargo-shuttle
  • cargo-tally
  • cargo-udeps

(cherry picked from commit 64d0ec4)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit cf8ecfb)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
matthiasbeyer and others added 2 commits April 14, 2024 18:16
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
(cherry picked from commit be86ca7)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer
Copy link
Contributor Author

Result of nixpkgs-review pr 298312 run on x86_64-linux 1

13 packages built:
  • cargo-binstall
  • cargo-chef
  • cargo-component
  • cargo-deny
  • cargo-dist
  • cargo-generate
  • cargo-llvm-lines
  • cargo-public-api
  • cargo-semver-checks
  • cargo-shuttle
  • cargo-tally
  • cargo-temp
  • cargo-udeps

(cherry picked from commit 30c60b8)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
matthiasbeyer and others added 2 commits April 21, 2024 14:38
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
skip failing tests

(cherry picked from commit 821fa71)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer
Copy link
Contributor Author

I'll merge this tomorrow if there's no objections.

@matthiasbeyer
Copy link
Contributor Author

Result of nixpkgs-review pr 298312 run on x86_64-linux 1

1 package failed to build:
  • cargo-modules
13 packages built:
  • cargo-binstall
  • cargo-chef
  • cargo-component
  • cargo-deny
  • cargo-dist
  • cargo-generate
  • cargo-llvm-lines
  • cargo-public-api
  • cargo-semver-checks
  • cargo-shuttle
  • cargo-tally
  • cargo-temp
  • cargo-udeps

@matthiasbeyer
Copy link
Contributor Author

Turns out cargo-modules fails, so I'll revert these patches

@ofborg ofborg bot requested a review from kkharji April 21, 2024 13:00
@matthiasbeyer
Copy link
Contributor Author

Result of nixpkgs-review pr 298312 run on x86_64-linux 1

13 packages built:
  • cargo-binstall
  • cargo-chef
  • cargo-component
  • cargo-deny
  • cargo-dist
  • cargo-generate
  • cargo-llvm-lines
  • cargo-public-api
  • cargo-semver-checks
  • cargo-shuttle
  • cargo-tally
  • cargo-temp
  • cargo-udeps

@matthiasbeyer matthiasbeyer merged commit 8f409d8 into NixOS:release-23.11 Apr 22, 2024
18 checks passed
@matthiasbeyer matthiasbeyer deleted the backport-cargo-tools-updates-with-newer-rustc branch April 22, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants