forked from mirrors/nixpkgs
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 a new issue