Skip to content

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

Merged
matthiasbeyer merged 62 commits intoNixOS:release-23.11from
matthiasbeyer:backport-cargo-tools-updates-with-newer-rustc
Apr 22, 2024
Merged

[Backport release-23.11]: cargo-* tools updates with newer rustPlatform#298312
matthiasbeyer merged 62 commits intoNixOS:release-23.11from
matthiasbeyer:backport-cargo-tools-updates-with-newer-rustc

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 matthiasbeyer requested a review from figsoda March 23, 2024 08:52
@ofborg ofborg bot requested review from 06kellyjac, B4dM4n, kkharji and oxalica March 23, 2024 09:13
@ofborg ofborg bot added 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. labels Mar 23, 2024
@ofborg ofborg bot requested a review from turboMaCk March 28, 2024 14:58
@ofborg ofborg bot added 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. and removed 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. labels Mar 28, 2024
@matthiasbeyer matthiasbeyer force-pushed the backport-cargo-tools-updates-with-newer-rustc branch 2 times, most recently from 65c8a3f to 41da92b Compare April 2, 2024 11:23
@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>
(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
@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

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants