crosvm.tests.musl: init

This would have caught the build regression introduced by
74cbe399ba ("crosvm: 124.0 -> 125.0") and fixed by
d213fa697f ("pkgsMusl.crosvm: fix build").
This commit is contained in:
Alyssa Ross 2024-06-24 14:42:37 +02:00
parent d213fa697f
commit e1c6b42d3a
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -1,6 +1,7 @@
{ lib, rustPlatform, fetchgit, fetchpatch
, pkg-config, protobuf, python3, wayland-scanner
, libcap, libdrm, libepoxy, minijail, virglrenderer, wayland, wayland-protocols
, pkgsCross
}:
rustPlatform.buildRustPackage rec {
@ -44,7 +45,12 @@ rustPlatform.buildRustPackage rec {
buildFeatures = [ "virgl_renderer" ];
passthru.updateScript = ./update.py;
passthru = {
updateScript = ./update.py;
tests = {
musl = pkgsCross.musl64.crosvm;
};
};
meta = with lib; {
description = "Secure virtual machine monitor for KVM";