pkgsMusl.crosvm: fix build
Fixes: 74cbe399ba ("crosvm: 124.0 -> 125.0")
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ lib, rustPlatform, fetchgit
|
{ lib, rustPlatform, fetchgit, fetchpatch
|
||||||
, pkg-config, protobuf, python3, wayland-scanner
|
, pkg-config, protobuf, python3, wayland-scanner
|
||||||
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
|
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
|
||||||
}:
|
}:
|
||||||
@@ -14,6 +14,15 @@ rustPlatform.buildRustPackage rec {
|
|||||||
fetchSubmodules = true;
|
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;
|
separateDebugInfo = true;
|
||||||
|
|
||||||
cargoHash = "sha256-1AUfd9dhIZvVVUsVbnGoLKc0lBfccwM4wqWgU4yZWOE=";
|
cargoHash = "sha256-1AUfd9dhIZvVVUsVbnGoLKc0lBfccwM4wqWgU4yZWOE=";
|
||||||
|
|||||||
Reference in New Issue
Block a user