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 1 { lib 2 2 , fetchFromGitHub 3 - , makeRustPlatform 4 3 , hostPlatform 5 4 , targetPlatform 5 + , cargo 6 + , rustc 6 7 , lld 7 8 }: 8 9 ··· 24 25 }; 25 26 }; 26 27 27 - inherit (cross) rustPlatform; 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 + }; 28 34 29 35 in 30 36