flake.nix: use nixosTest instead of importing file
This commit is contained in:
parent
7685ba088b
commit
91b8cb02e4
|
@ -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 = { ... }: {
|
||||||
|
|
Loading…
Reference in New Issue