modules.nixosVmTest: rename to nixosTest to match the target module _class

This commit is contained in:
Johannes Kirschbauer
2025-06-26 17:34:18 +02:00
parent e9600a19c1
commit 5dc8865da1
8 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ nixosLib.runTest (
{ ... }: { ... }:
{ {
imports = [ imports = [
clan-core.modules.nixosVmTest.clanTest clan-core.modules.nixosTest.clanTest
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;

View File

@@ -16,7 +16,7 @@ nixosLib.runTest (
{ ... }: { ... }:
{ {
imports = [ imports = [
clan-core.modules.nixosVmTest.clanTest clan-core.modules.nixosTest.clanTest
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;

View File

@@ -9,7 +9,7 @@ nixosLib.runTest (
{ hostPkgs, config, ... }: { hostPkgs, config, ... }:
{ {
imports = [ imports = [
clan-core.modules.nixosVmTest.clanTest clan-core.modules.nixosTest.clanTest
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;

View File

@@ -8,7 +8,7 @@ nixosLib.runTest (
{ ... }: { ... }:
{ {
imports = [ imports = [
clan-core.modules.nixosVmTest.clanTest clan-core.modules.nixosTest.clanTest
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;

View File

@@ -8,7 +8,7 @@ nixosLib.runTest (
{ ... }: { ... }:
{ {
imports = [ imports = [
clan-core.modules.nixosVmTest.clanTest clan-core.modules.nixosTest.clanTest
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;

View File

@@ -9,7 +9,7 @@ nixosLib.runTest (
{ ... }: { ... }:
{ {
imports = [ imports = [
clan-core.modules.nixosVmTest.clanTest clan-core.modules.nixosTest.clanTest
]; ];
hostPkgs = pkgs; hostPkgs = pkgs;

View File

@@ -20,7 +20,7 @@ in
{ {
# A function that returns an extension to runTest # A function that returns an extension to runTest
# TODO: remove this from clanLib, add to legacyPackages, simplify signature # TODO: remove this from clanLib, add to legacyPackages, simplify signature
flake.modules.nixosVmTest.clanTest = flake.modules.nixosTest.clanTest =
{ config, hostPkgs, ... }: { config, hostPkgs, ... }:
let let
testName = config.name; testName = config.name;

View File

@@ -40,7 +40,7 @@ in
{ ... }: { ... }:
{ {
imports = [ imports = [
self.modules.nixosVmTest.clanTest self.modules.nixosTest.clanTest
testModule testModule
]; ];
@@ -68,7 +68,7 @@ in
{ ... }: { ... }:
{ {
imports = [ imports = [
self.modules.nixosVmTest.clanTest self.modules.nixosTest.clanTest
testModule testModule
]; ];