From 028866fa071e7f40c20b847e8f9f69745a43dfe3 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 25 Apr 2023 00:08:15 +0200 Subject: [PATCH] rust-hypervisor-firmware: fix build --- .../virtualization/rust-hypervisor-firmware/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix b/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix index 42cc3ab07a8..152bb056bc5 100644 --- a/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix +++ b/pkgs/applications/virtualization/rust-hypervisor-firmware/default.nix @@ -41,6 +41,10 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-edi6/Md6KebKM3wHArZe1htUCg0/BqMVZKA4xEH25GI="; + # lld: error: unknown argument '-Wl,--undefined=AUDITABLE_VERSION_INFO' + # https://github.com/cloud-hypervisor/rust-hypervisor-firmware/issues/249 + auditable = false; + RUSTC_BOOTSTRAP = 1; nativeBuildInputs = [