move nixosTestLib to pkgs/testing

This commit is contained in:
Jörg Thalheim
2025-07-02 16:03:01 +02:00
parent 3059f10da3
commit f5b54443da
11 changed files with 100 additions and 26 deletions

View File

@@ -167,7 +167,7 @@
name = "installation";
nodes.target = (import ./test-helpers.nix { inherit lib pkgs self; }).target;
extraPythonPackages = _p: [
(import ./test-helpers.nix { inherit lib pkgs self; }).nixosTestLib
self.legacyPackages.${pkgs.system}.nixosTestLib
];
testScript = ''
@@ -225,7 +225,7 @@
name = "update-hardware-configuration";
nodes.target = (import ./test-helpers.nix { inherit lib pkgs self; }).target;
extraPythonPackages = _p: [
(import ./test-helpers.nix { inherit lib pkgs self; }).nixosTestLib
self.legacyPackages.${pkgs.system}.nixosTestLib
];
testScript = ''