nixos/testing-python.nix: fix typo in warning

"pyton" -> "python"
This commit is contained in:
Alyssa Ross 2022-05-27 13:00:25 +00:00
parent b7207e2235
commit 1e396f9802
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -207,7 +207,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'."
lib.warnIf (t?machine) "In test `${name}': The `machine' attribute in NixOS tests (pkgs.nixosTest / make-test-python.nix / testing-python.nix / makeTest) is deprecated. Please use the equivalent `nodes.machine'."
build-vms.buildVirtualNetwork (
nodes // lib.optionalAttrs (machine != null) { inherit machine; }
);