From 9722a91761b7fd68704c1c69be7df2952d4f4a41 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 14 Oct 2019 16:29:50 +0200 Subject: l krops: don't override source in tests --- lass/krops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lass') diff --git a/lass/krops.nix b/lass/krops.nix index c1fbe2841..da5933df3 100644 --- a/lass/krops.nix +++ b/lass/krops.nix @@ -19,7 +19,7 @@ }; }; } - (if lib.pathExists (./. + "/1systems/${name}/source.nix") then + (if (lib.pathExists (./. + "/1systems/${name}/source.nix")) && (! test) then import (./. + "/1systems/${name}/source.nix") { inherit lib pkgs test; } else {} -- cgit v1.2.3