diff --git a/nixos/tests/systemd-repart.nix b/nixos/tests/systemd-repart.nix index 36de5d988fdb..b1d19c2b7cc1 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",