From 70cf39ea59bf6dda21999a6a4407e7347e40f4ec Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Thu, 23 Oct 2025 18:20:53 +0200 Subject: [PATCH] rm modulesPath Signed-off-by: Kiara Grouwstra --- deployment/check/common/deployerNode.nix | 3 +-- deployment/check/common/targetResource.nix | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/deployment/check/common/deployerNode.nix b/deployment/check/common/deployerNode.nix index 15f1d171..4fc673ea 100644 --- a/deployment/check/common/deployerNode.nix +++ b/deployment/check/common/deployerNode.nix @@ -4,7 +4,6 @@ pkgs, config, sources, - modulesPath, ... }: @@ -76,7 +75,7 @@ in machine = (pkgs.nixos [ ./targetNode.nix - "${modulesPath}/../lib/testing/nixos-test-base.nix" + "${sources.nixpkgs}/nixos/lib/testing/nixos-test-base.nix" config.system.extraDependenciesFromModule { nixpkgs.hostPlatform = "x86_64-linux"; diff --git a/deployment/check/common/targetResource.nix b/deployment/check/common/targetResource.nix index 3e7eb2e1..32215dc3 100644 --- a/deployment/check/common/targetResource.nix +++ b/deployment/check/common/targetResource.nix @@ -3,7 +3,6 @@ lib, config, sources, - modulesPath, ... }: @@ -40,7 +39,7 @@ in imports = [ ./targetNode.nix (lib.modules.importJSON (config.pathToCwd + "/${config.nodeName}-network.json")) - "${modulesPath}/../lib/testing/nixos-test-base.nix" + "${sources.nixpkgs}/nixos/lib/testing/nixos-test-base.nix" ]; _module.args = { inherit inputs sources; };