Skip to content

Commit

Permalink
make-disk-image: fix eval
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Nov 13, 2017
1 parent 443b592 commit 470a775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/lib/make-disk-image.nix
Expand Up @@ -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";

Expand Down

0 comments on commit 470a775

Please sign in to comment.