flake.nix: use nixosTest instead of importing file

This commit is contained in:
nikstur 2022-11-25 17:39:01 +01:00
parent 7685ba088b
commit 91b8cb02e4
1 changed files with 1 additions and 4 deletions

View File

@ -164,10 +164,7 @@
}; };
checks.x86_64-linux = { checks.x86_64-linux = {
lanzaboote-boot = lanzaboote-boot = nixpkgs-test.legacyPackages.x86_64-linux.nixosTest
let test = import ("${nixpkgs-test}/nixos/lib/testing-python.nix") { system = "x86_64-linux"; };
in
test.makeTest
{ {
name = "stub-boot"; name = "stub-boot";
nodes.machine = { ... }: { nodes.machine = { ... }: {