Skip to content

treewide: convert remaining rust packages with git dependencies to importCargoLock#236308

Closed
raphaelr wants to merge 11 commits intoNixOS:masterfrom
raphaelr:cargo-lock
Closed

treewide: convert remaining rust packages with git dependencies to importCargoLock#236308
raphaelr wants to merge 11 commits intoNixOS:masterfrom
raphaelr:cargo-lock

Conversation

@raphaelr
Copy link
Copy Markdown
Contributor

@raphaelr raphaelr commented Jun 6, 2023

Description of changes

Followup of #221716. This PR updates some more packages with git dependencies to importCargoLock (The only remaining package I can find is emacsPackages.tsc; I will update that in a followup PR because it requires changing an update script and thus isn't as trivial as the other packages in this PR).

Currently the cargoDeps of these packages will fail to build with ERROR: The Cargo.lock contains git dependencies. See #217084 for background information.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 23.11 Release Notes (or backporting 23.05 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.

@github-actions github-actions Bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jun 6, 2023
@raphaelr raphaelr added the 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. label Jun 6, 2023
@raphaelr raphaelr requested review from figsoda, tomberek and yu-re-ka June 6, 2023 16:57
Copy link
Copy Markdown
Contributor

@yu-re-ka yu-re-ka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not realize we had missed so many. looks good 👍🏻

@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. labels Jun 6, 2023
@raphaelr
Copy link
Copy Markdown
Contributor Author

Rebased to resolve the merge conflict

@github-actions github-actions Bot removed the 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. label Jun 27, 2023
@pbsds pbsds mentioned this pull request Aug 7, 2023
12 tasks
@raphaelr raphaelr closed this Dec 14, 2023
@raphaelr raphaelr deleted the cargo-lock branch December 14, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 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.

2 participants