crosvm: 125.0 -> 126.0

The musl test fails on x86_64 at the moment because mesa doesn't build
for x86_64-unknown-linux-musl from x86_64-unknown-linux-gnu, but I've
checked that crosvm builds for musl on x86_64 with a native build.
This commit is contained in:
Alyssa Ross
2024-07-06 08:57:47 +02:00
parent 719302e0ec
commit 5041afcd2b
@@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchgit, fetchpatch
{ lib, rustPlatform, fetchgit
, pkg-config, protobuf, python3, wayland-scanner
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
, pkgsCross
@@ -6,27 +6,18 @@
rustPlatform.buildRustPackage rec {
pname = "crosvm";
version = "125.0";
version = "126.0";
src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/platform/crosvm";
rev = "6a7ff1ecb7fad6820d3bbfe8b11e65854059aba5";
hash = "sha256-y/vHU8i9YNbzSHla853z/2w914mVMFOryyaHE1uxlvM=";
rev = "5533201f3ff3230d121e06100557d369c055e6dc";
hash = "sha256-Ufi8dIhNgXvD53PWLG2uj7CD37UZIegrqAQz3wTKTvE=";
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=";
cargoHash = "sha256-E2lyBgptQs+/5JS2WJc4ietguXdK16DFEVzqylmX+Pk=";
nativeBuildInputs = [
pkg-config protobuf python3 rustPlatform.bindgenHook wayland-scanner