mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 03:55:44 +03:00
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 ''
|
${if format == "raw" then ''
|
||||||
mv $diskImage $out/${filename}
|
mv $diskImage $out/${filename}
|
||||||
'' else ''
|
'' 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}
|
diskImage=$out/${filename}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue