mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
nixops_unstable: fix tests
eval with allowAliases = false;
Without the change `tests` eval fails as: $ nix build --no-link -f. nixops_unstable.tests --arg config '{ allowAliases = false; }' error: error: attribute 'nixosTest' missing 22| testLegacyNetwork = { nixopsPkg, ... }: pkgs.nixosTest ({ | ^ 23| name = "nixops-legacy-network"; Did you mean nixosTests? The alias is defined as: pkgs/top-level/aliases.nix: nixosTest = testers.nixosTest; # Added 2022-05-05
This commit is contained in:
parent
51d29a4759
commit
8f809e4630
@ -19,7 +19,7 @@ let
|
||||
passthru.override = args': testsForPackage (args // args');
|
||||
};
|
||||
|
||||
testLegacyNetwork = { nixopsPkg, ... }: pkgs.nixosTest ({
|
||||
testLegacyNetwork = { nixopsPkg, ... }: pkgs.testers.nixosTest ({
|
||||
name = "nixops-legacy-network";
|
||||
nodes = {
|
||||
deployer = { config, lib, nodes, pkgs, ... }: {
|
||||
|
Loading…
Reference in New Issue
Block a user