From 5dc8865da17604a2c135847303c4ec0e6be15572 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Thu, 26 Jun 2025 17:34:18 +0200 Subject: [PATCH] modules.nixosVmTest: rename to nixosTest to match the target module _class --- checks/borgbackup/default.nix | 2 +- checks/data-mesher/default.nix | 2 +- checks/dummy-inventory-test-from-flake/default.nix | 2 +- checks/dummy-inventory-test/default.nix | 2 +- checks/mycelium/default.nix | 2 +- checks/syncthing/default.nix | 2 +- lib/clanTest/flake-module.nix | 2 +- lib/flake-parts/clan-nixos-test.nix | 4 ++-- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/checks/borgbackup/default.nix b/checks/borgbackup/default.nix index 90b59f882..4cb2e5e4b 100644 --- a/checks/borgbackup/default.nix +++ b/checks/borgbackup/default.nix @@ -8,7 +8,7 @@ nixosLib.runTest ( { ... }: { imports = [ - clan-core.modules.nixosVmTest.clanTest + clan-core.modules.nixosTest.clanTest ]; hostPkgs = pkgs; diff --git a/checks/data-mesher/default.nix b/checks/data-mesher/default.nix index a79bfe98e..14a784691 100644 --- a/checks/data-mesher/default.nix +++ b/checks/data-mesher/default.nix @@ -16,7 +16,7 @@ nixosLib.runTest ( { ... }: { imports = [ - clan-core.modules.nixosVmTest.clanTest + clan-core.modules.nixosTest.clanTest ]; hostPkgs = pkgs; diff --git a/checks/dummy-inventory-test-from-flake/default.nix b/checks/dummy-inventory-test-from-flake/default.nix index 8a94a37bd..586f0f244 100644 --- a/checks/dummy-inventory-test-from-flake/default.nix +++ b/checks/dummy-inventory-test-from-flake/default.nix @@ -9,7 +9,7 @@ nixosLib.runTest ( { hostPkgs, config, ... }: { imports = [ - clan-core.modules.nixosVmTest.clanTest + clan-core.modules.nixosTest.clanTest ]; hostPkgs = pkgs; diff --git a/checks/dummy-inventory-test/default.nix b/checks/dummy-inventory-test/default.nix index 9bbfe3a21..0a142145d 100644 --- a/checks/dummy-inventory-test/default.nix +++ b/checks/dummy-inventory-test/default.nix @@ -8,7 +8,7 @@ nixosLib.runTest ( { ... }: { imports = [ - clan-core.modules.nixosVmTest.clanTest + clan-core.modules.nixosTest.clanTest ]; hostPkgs = pkgs; diff --git a/checks/mycelium/default.nix b/checks/mycelium/default.nix index 2f3af1d3e..f9a1d84b8 100644 --- a/checks/mycelium/default.nix +++ b/checks/mycelium/default.nix @@ -8,7 +8,7 @@ nixosLib.runTest ( { ... }: { imports = [ - clan-core.modules.nixosVmTest.clanTest + clan-core.modules.nixosTest.clanTest ]; hostPkgs = pkgs; diff --git a/checks/syncthing/default.nix b/checks/syncthing/default.nix index 3bb13167f..d047e1c91 100644 --- a/checks/syncthing/default.nix +++ b/checks/syncthing/default.nix @@ -9,7 +9,7 @@ nixosLib.runTest ( { ... }: { imports = [ - clan-core.modules.nixosVmTest.clanTest + clan-core.modules.nixosTest.clanTest ]; hostPkgs = pkgs; diff --git a/lib/clanTest/flake-module.nix b/lib/clanTest/flake-module.nix index e77364ebc..4e140a251 100644 --- a/lib/clanTest/flake-module.nix +++ b/lib/clanTest/flake-module.nix @@ -20,7 +20,7 @@ in { # A function that returns an extension to runTest # TODO: remove this from clanLib, add to legacyPackages, simplify signature - flake.modules.nixosVmTest.clanTest = + flake.modules.nixosTest.clanTest = { config, hostPkgs, ... }: let testName = config.name; diff --git a/lib/flake-parts/clan-nixos-test.nix b/lib/flake-parts/clan-nixos-test.nix index 3c5267b47..6a635c742 100644 --- a/lib/flake-parts/clan-nixos-test.nix +++ b/lib/flake-parts/clan-nixos-test.nix @@ -40,7 +40,7 @@ in { ... }: { imports = [ - self.modules.nixosVmTest.clanTest + self.modules.nixosTest.clanTest testModule ]; @@ -68,7 +68,7 @@ in { ... }: { imports = [ - self.modules.nixosVmTest.clanTest + self.modules.nixosTest.clanTest testModule ];