mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
rust-hypervisor-firmware: fix build (#257345)
Co-authored-by: Yureka <yuka@yuka.dev>
This commit is contained in:
parent
0019463360
commit
e97f8fecfa
@ -1,8 +1,9 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, makeRustPlatform
|
||||
, hostPlatform
|
||||
, targetPlatform
|
||||
, cargo
|
||||
, rustc
|
||||
, lld
|
||||
}:
|
||||
|
||||
@ -24,7 +25,12 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
inherit (cross) rustPlatform;
|
||||
# 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;
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user