kexec-installer: use pkgs.testers to define test

This commit is contained in:
Jörg Thalheim 2024-09-18 16:41:57 +02:00
parent 41eb99f3cc
commit 8e077ae20b

View file

@ -3,14 +3,7 @@
, kexecTarball
}:
let
makeTest = import (pkgs.path + "/nixos/tests/make-test-python.nix");
makeTest' = args: makeTest args {
inherit pkgs;
inherit (pkgs) system;
};
in
makeTest' {
pkgs.testers.runNixOSTest {
name = "kexec-installer";
meta = with pkgs.lib.maintainers; {
maintainers = [ mic92 ];