diff options
author | lassulus <lassulus@lassul.us> | 2019-10-14 16:29:50 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-10-14 16:29:50 +0200 |
commit | 9722a91761b7fd68704c1c69be7df2952d4f4a41 (patch) | |
tree | 9eeb93d2a70538391551b6000bca191e439a71da | |
parent | 5c8a21d37786f4974ca7793beda589eb6d6f7923 (diff) |
l krops: don't override source in tests
-rw-r--r-- | lass/krops.nix | 2 |
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 {} |