diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-12-17 18:31:20 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-12-19 11:34:02 +0100 |
commit | 1ee9f3c87c12262520c9aa6a1b4ff5f056dad652 (patch) | |
tree | 1299a2b2becfbc19d00ca73f7763174f3f5b9c97 /pkgs/applications/virtualization/rust-hypervisor-firmware | |
parent | ca8a6d8c19ed6534c6e4b088e2348c261cc2bc33 (diff) |
Revert "rust-hypervisor-firmware: fix build (#257345)"
This reverts commit e97f8fecfa10ad04448f9cf54a1f0277f668cf4e.
No longer necessary since the rustc wrapper now handles --sysroot
correctly.
Diffstat (limited to 'pkgs/applications/virtualization/rust-hypervisor-firmware')
-rw-r--r-- | pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix b/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix index 286a521be054..1a36aa8fd6c0 100644 --- a/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix +++ b/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix @@ -1,8 +1,6 @@ { lib , fetchFromGitHub , hostPlatform -, cargo -, rustc , lld }: @@ -24,12 +22,7 @@ let }; }; - # inherit (cross) rustPlatform; - # ^ breaks because we are doing a no_std embedded build with a custom sysroot, - # but the fast_cross rustc wrapper already passes a sysroot argument - rustPlatform = cross.makeRustPlatform { - inherit rustc cargo; - }; + inherit (cross) rustPlatform; in |