From e1c6b42d3af6114933dcf82387c6cff2f10cb592 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 24 Jun 2024 14:42:37 +0200 Subject: [PATCH] crosvm.tests.musl: init This would have caught the build regression introduced by 74cbe399ba22 ("crosvm: 124.0 -> 125.0") and fixed by d213fa697f0a ("pkgsMusl.crosvm: fix build"). --- pkgs/applications/virtualization/crosvm/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/crosvm/default.nix b/pkgs/applications/virtualization/crosvm/default.nix index 9ba769dfd7ed..d2fda361660e 100644 --- a/pkgs/applications/virtualization/crosvm/default.nix +++ b/pkgs/applications/virtualization/crosvm/default.nix @@ -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";