spark: fix tests
eval under allowAliases = false
Without the change `tests` eval fails as: $ nix build --no-link -f. spark.tests --arg config '{ allowAliases = false; }' error: attribute 'nixosTest' missing 12| }; 13| testSparkCluster = { sparkPackage, ... }: pkgs.nixosTest ({ | ^ 14| name = "spark"; Did you mean nixosTests? `nixosTest` is an alias defined as: pkgs/top-level/aliases.nix: nixosTest = testers.nixosTest; # Added 2022-05-05
This commit is contained in:
parent
e5f6890469
commit
3d40057509
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ let
|
||||||
sparkCluster = testSparkCluster args;
|
sparkCluster = testSparkCluster args;
|
||||||
passthru.override = args': testsForPackage (args // args');
|
passthru.override = args': testsForPackage (args // args');
|
||||||
};
|
};
|
||||||
testSparkCluster = { sparkPackage, ... }: pkgs.nixosTest ({
|
testSparkCluster = { sparkPackage, ... }: pkgs.testers.nixosTest ({
|
||||||
name = "spark";
|
name = "spark";
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
|
|
Loading…
Reference in a new issue