mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixosTest: Simplify doc by deprecating syntax sugar
This commit is contained in:
parent
b3de7202d1
commit
ecbf5ae27a
3 changed files with 33 additions and 47 deletions
|
@ -206,6 +206,7 @@ rec {
|
|||
)];
|
||||
};
|
||||
in
|
||||
lib.warnIf (t?machine) "In test `${name}': The `machine' attribute in NixOS tests (pkgs.nixosTest / make-test-pyton.nix / testing-python.nix / makeTest) is deprecated. Please use the equivalent `nodes.machine'."
|
||||
build-vms.buildVirtualNetwork (
|
||||
nodes // lib.optionalAttrs (machine != null) { inherit machine; }
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue