nixosTest: update to make-test-python.nix

This still referred to the legacy make-test.nix (Perl)
This commit is contained in:
worldofpeace 2020-02-09 23:49:42 +01:00 committed by Florian Klink
parent 6022db4d9d
commit d3efeb79b7

View File

@ -25033,7 +25033,7 @@ in
/* /*
* Run a NixOS VM network test using this evaluation of Nixpkgs. * Run a NixOS VM network test using this evaluation of Nixpkgs.
* *
* It is mostly equivalent to `import ./make-test.nix` from the * It is mostly equivalent to `import ./make-test-python.nix` from the
* NixOS manual[1], except that your `pkgs` will be used instead of * NixOS manual[1], except that your `pkgs` will be used instead of
* letting NixOS invoke Nixpkgs again. If a test machine needs to * letting NixOS invoke Nixpkgs again. If a test machine needs to
* set NixOS options under `nixpkgs`, it must set only the * set NixOS options under `nixpkgs`, it must set only the
@ -25059,11 +25059,11 @@ in
*/ */
nixosTest = nixosTest =
let let
/* The nixos/lib/testing.nix module, preapplied with arguments that /* The nixos/lib/testing-python.nix module, preapplied with arguments that
* make sense for this evaluation of Nixpkgs. * make sense for this evaluation of Nixpkgs.
*/ */
nixosTesting = nixosTesting =
(import ../../nixos/lib/testing.nix { (import ../../nixos/lib/testing-python.nix {
inherit (pkgs.stdenv.hostPlatform) system; inherit (pkgs.stdenv.hostPlatform) system;
inherit pkgs; inherit pkgs;
extraConfigurations = [( extraConfigurations = [(