l krops: don't override source in tests

This commit is contained in:
lassulus 2019-10-14 16:29:50 +02:00
parent 5c8a21d377
commit 9722a91761
1 changed files with 1 additions and 1 deletions

View File

@ -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
{}