about summary refs log tree commit diff
path: root/nixos/tests/systemd-repart.nix
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-04-28 23:51:39 +0200
committerRaito Bezarius <masterancpp@gmail.com>2023-04-29 01:45:54 +0200
commitf9d741912f30cb0819eb426dca03125b54260bc7 (patch)
tree14d2af3169540a24ce5b69c9db177d21bf38e0cc /nixos/tests/systemd-repart.nix
parentb69534e0729cbaab649fdbce8643d0760ee42b68 (diff)
nixos/tests/systemd-repart: use qemu_kvm (host arch) instead of qemu (all arches)
Diffstat (limited to 'nixos/tests/systemd-repart.nix')
-rw-r--r--nixos/tests/systemd-repart.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/systemd-repart.nix b/nixos/tests/systemd-repart.nix
index 36de5d988fdb1..b1d19c2b7cc1d 100644
--- a/nixos/tests/systemd-repart.nix
+++ b/nixos/tests/systemd-repart.nix
@@ -21,7 +21,7 @@ let
     shutil.copyfile("${machine.system.build.diskImage}/nixos.img", tmp_disk_image.name)
 
     subprocess.run([
-      "${pkgs.qemu}/bin/qemu-img",
+      "${machine.config.virtualisation.qemu.package}/bin/qemu-img",
       "resize",
       "-f",
       "raw",