rust-hypervisor-firmware: fix build (#257345)

Co-authored-by: Yureka <yuka@yuka.dev>

authored by Astro Yureka and committed by GitHub e97f8fec 00194633

+8 -2
+8 -2
pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 - , makeRustPlatform 4 , hostPlatform 5 , targetPlatform 6 , lld 7 }: 8 ··· 24 }; 25 }; 26 27 - inherit (cross) rustPlatform; 28 29 in 30
··· 1 { lib 2 , fetchFromGitHub 3 , hostPlatform 4 , targetPlatform 5 + , cargo 6 + , rustc 7 , lld 8 }: 9 ··· 25 }; 26 }; 27 28 + # inherit (cross) rustPlatform; 29 + # ^ breaks because we are doing a no_std embedded build with a custom sysroot, 30 + # but the fast_cross rustc wrapper already passes a sysroot argument 31 + rustPlatform = cross.makeRustPlatform { 32 + inherit rustc cargo; 33 + }; 34 35 in 36