mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
make-disk-image: fix eval
This commit is contained in:
parent
443b592935
commit
470a7752d8
@ -41,7 +41,7 @@ with lib;
|
||||
|
||||
let format' = format; in let
|
||||
|
||||
format = if (format' == "qcow2-compressed") then "qcow2" else format;
|
||||
format = if (format' == "qcow2-compressed") then "qcow2" else format';
|
||||
|
||||
compress = optionalString (format' == "qcow2-compressed") "-c";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user