From 2b5db6273584eba44a8b20783f4630c700aafbec Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Tue, 3 Dec 2024 17:23:10 +0900 Subject: [PATCH] lima: add passthru.tests.version --- pkgs/applications/virtualization/lima/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/lima/default.nix b/pkgs/applications/virtualization/lima/default.nix index cd6ed327fbc1..5869fa6bb3b5 100644 --- a/pkgs/applications/virtualization/lima/default.nix +++ b/pkgs/applications/virtualization/lima/default.nix @@ -7,8 +7,10 @@ qemu, sigtool, makeWrapper, + testers, nix-update-script, apple-sdk_15, + lima, }: buildGoModule rec { @@ -74,7 +76,10 @@ buildGoModule rec { USER=nix $out/bin/limactl validate templates/default.yaml ''; - passthru.updateScript = nix-update-script { }; + passthru = { + tests.version = testers.testVersion { package = lima; }; + updateScript = nix-update-script { }; + }; meta = with lib; { homepage = "https://github.com/lima-vm/lima";