aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-08-13 21:52:59 +0530
committersinanmohd <sinan@sinanmohd.com>2024-08-13 21:52:59 +0530
commite1cedc07a2bc987f6eac508cd99e92faa62da081 (patch)
tree0db263fa0cb6925f6e1a3f5b7e87b12861865233 /nixos
parent5ad39d3d40ca0ee8ea1196b9b3dd25ba4aa38232 (diff)
nixosTests: drop nixos-lib
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/all-tests.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index b0373da..68342d6 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -1,4 +1,4 @@
-{ nixos-lib, pkgs }:
+pkgs:
let
dsl = ./dsl.nix;
@@ -54,10 +54,9 @@ in
builtins.mapAttrs
(
name: value:
- nixos-lib.runTest (
+ pkgs.testers.runNixOSTest (
{
inherit name;
- hostPkgs = pkgs;
testScript = ''
start_all()
substituter.wait_for_unit("nix-serve.service")