summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-10-14 16:29:50 +0200
committerlassulus <lassulus@lassul.us>2019-10-14 16:29:50 +0200
commit9722a91761b7fd68704c1c69be7df2952d4f4a41 (patch)
tree9eeb93d2a70538391551b6000bca191e439a71da
parent5c8a21d37786f4974ca7793beda589eb6d6f7923 (diff)
l krops: don't override source in tests
-rw-r--r--lass/krops.nix2
1 files changed, 1 insertions, 1 deletions
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
{}