diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-02-15 18:49:18 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-02-15 19:35:17 +0100 |
commit | c391343fcd1515fd2d9b86a3267f7896522eb6a7 (patch) | |
tree | 0eadca3eddf9cba685ec2c8737cecac9f575edfd /nixos/modules/installer/tools | |
parent | 4ca08a2a73e22de710c8b8959a66932ca2299c8f (diff) | |
download | nixlib-c391343fcd1515fd2d9b86a3267f7896522eb6a7.tar nixlib-c391343fcd1515fd2d9b86a3267f7896522eb6a7.tar.gz nixlib-c391343fcd1515fd2d9b86a3267f7896522eb6a7.tar.bz2 nixlib-c391343fcd1515fd2d9b86a3267f7896522eb6a7.tar.lz nixlib-c391343fcd1515fd2d9b86a3267f7896522eb6a7.tar.xz nixlib-c391343fcd1515fd2d9b86a3267f7896522eb6a7.tar.zst nixlib-c391343fcd1515fd2d9b86a3267f7896522eb6a7.zip |
nixos/nixos-build-vms: switch to python test-driver
In 0945178b3c6fd9e33002dd6e3c6f77dfca49565a we decided that Perl-based VM tests should be deprecated and will be removed between 20.03 and 20.09. So let's switch `nixos-build-vms(8)` to python as well (which is entirely interactive, so other scripts won't break). In my experience, the test-driver isn't used most of the time, so this patch is mainly supposed to get rid of the (probably misleading) deprecation warning when running `nixos-build-vms`. Apart from that, the interface for python's test-driver is way nicer.
Diffstat (limited to 'nixos/modules/installer/tools')
-rw-r--r-- | nixos/modules/installer/tools/nixos-build-vms/build-vms.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix index c1028a0ad7e9..90f0702f7173 100644 --- a/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix +++ b/nixos/modules/installer/tools/nixos-build-vms/build-vms.nix @@ -5,7 +5,7 @@ let nodes = import networkExpr; in -with import ../../../../lib/testing.nix { +with import ../../../../lib/testing-python.nix { inherit system; pkgs = import ../../../../.. { inherit system config; }; }; |