mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
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
@ -10,7 +10,7 @@ let
|
||||
sparkCluster = testSparkCluster args;
|
||||
passthru.override = args': testsForPackage (args // args');
|
||||
};
|
||||
testSparkCluster = { sparkPackage, ... }: pkgs.nixosTest ({
|
||||
testSparkCluster = { sparkPackage, ... }: pkgs.testers.nixosTest ({
|
||||
name = "spark";
|
||||
|
||||
nodes = {
|
||||
|
Loading…
Reference in New Issue
Block a user