nixos/lib/make-disk-image: do not compile a full arch QEMU to convert images
This commit is contained in:
parent
4f9626b6dd
commit
77c0b522b7
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ let format' = format; in let
|
|||
${if format == "raw" then ''
|
||||
mv $diskImage $out/${filename}
|
||||
'' else ''
|
||||
${pkgs.qemu}/bin/qemu-img convert -f raw -O ${format} ${compress} $diskImage $out/${filename}
|
||||
${pkgs.qemu-utils}/bin/qemu-img convert -f raw -O ${format} ${compress} $diskImage $out/${filename}
|
||||
''}
|
||||
diskImage=$out/${filename}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue