pkgsMusl.crosvm: fix build

Fixes: 74cbe399ba ("crosvm: 124.0 -> 125.0")
This commit is contained in:
Alyssa Ross 2024-06-24 12:40:30 +02:00
parent 4cc2ade958
commit d213fa697f

View File

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchgit
{ lib, rustPlatform, fetchgit, fetchpatch
, pkg-config, protobuf, python3, wayland-scanner
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
}:
@ -14,6 +14,15 @@ rustPlatform.buildRustPackage rec {
fetchSubmodules = true;
};
patches = [
(fetchpatch {
name = "musl.patch";
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm/+/128e591037c0be0362ed814d0b5583aa65ff09e1%5E%21/?format=TEXT";
decode = "base64 -d";
hash = "sha256-p5VzHRb0l0vCJNe48cRl/uBYHwTQMEykMcBOMzL3yaY=";
})
];
separateDebugInfo = true;
cargoHash = "sha256-1AUfd9dhIZvVVUsVbnGoLKc0lBfccwM4wqWgU4yZWOE=";