summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-05-15 13:24:08 +0200
committerGitHub <noreply@github.com>2023-05-15 13:24:08 +0200
commit5a7e90bc95a9d6202e68719391d13535b977d38a (patch)
tree0214bfabde4a3a3fc4ff70b5b6506bb678c08f0b /nixos/tests
parentca043941b96a45558f514b125ca7234cb37a7566 (diff)
parentf9d741912f30cb0819eb426dca03125b54260bc7 (diff)
Merge pull request #228801 from NixOS/make-disk-image-faster
nixos/lib/make-disk-image: do not compile a full arch QEMU to convert images
Diffstat (limited to 'nixos/tests')
-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",