Skip to content

rust-hypervisor-firmware: fix build#257345

Merged
yu-re-ka merged 2 commits intoNixOS:masterfrom
astro:rust-hypervisor-firmware
Sep 26, 2023
Merged

rust-hypervisor-firmware: fix build#257345
yu-re-ka merged 2 commits intoNixOS:masterfrom
astro:rust-hypervisor-firmware

Conversation

@astro
Copy link
Contributor

@astro astro commented Sep 25, 2023

Description of changes

Fix #256957

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.

@astro astro requested a review from flokli September 25, 2023 21:42
@ofborg ofborg 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. labels Sep 25, 2023
@yu-re-ka
Copy link
Contributor

@ofborg build rust-hypervisor-firmware

@yu-re-ka
Copy link
Contributor

What broke this was not the rust 1.72.0 bump, but #176694.
Some time I can go back to the drawing board and improve it, but for now this workaround is acceptable.

@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 26, 2023
Co-authored-by: Yureka <yuka@yuka.dev>
@delroth delroth removed the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 26, 2023
@yu-re-ka yu-re-ka merged commit e97f8fe into NixOS:master Sep 26, 2023
@yu-re-ka yu-re-ka mentioned this pull request Nov 17, 2023
13 tasks
alyssais added a commit to alyssais/nixpkgs that referenced this pull request Dec 17, 2023
This reverts commit e97f8fe.

No longer necessary since the rustc wrapper now handles --sysroot
correctly.
alyssais added a commit that referenced this pull request Dec 19, 2023
This reverts commit e97f8fe.

No longer necessary since the rustc wrapper now handles --sysroot
correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Build failure: rust-hypervisor-firmware

4 participants