summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-04-25 08:02:35 +0200
committerJörg Thalheim <joerg@thalheim.io>2017-04-26 16:40:38 +0200
commit9d3c1183203fc8494fb68bb77193bf85c4c7a874 (patch)
treec5f89a2fe11e77fbd8c52766baeb14cb0166b2e8 /nixos
parent761af147780c7dc68cbbfa93213cc73dd25f75ba (diff)
downloadnixpkgs-9d3c1183203fc8494fb68bb77193bf85c4c7a874.tar
nixpkgs-9d3c1183203fc8494fb68bb77193bf85c4c7a874.tar.gz
nixpkgs-9d3c1183203fc8494fb68bb77193bf85c4c7a874.tar.bz2
nixpkgs-9d3c1183203fc8494fb68bb77193bf85c4c7a874.tar.lz
nixpkgs-9d3c1183203fc8494fb68bb77193bf85c4c7a874.tar.xz
nixpkgs-9d3c1183203fc8494fb68bb77193bf85c4c7a874.tar.zst
nixpkgs-9d3c1183203fc8494fb68bb77193bf85c4c7a874.zip
google-compute-image: append .raw.tar.gz suffix
This restores behavior of image generation before f1708a9d7d79e2bf2961fc648625578b23b3460f
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/google-compute-image.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/google-compute-image.nix b/nixos/modules/virtualisation/google-compute-image.nix
index d41bb71f4cb..ff39f1bf8da 100644
--- a/nixos/modules/virtualisation/google-compute-image.nix
+++ b/nixos/modules/virtualisation/google-compute-image.nix
@@ -16,7 +16,7 @@ in
       PATH=$PATH:${pkgs.stdenv.lib.makeBinPath [ pkgs.gnutar pkgs.gzip ]}
       pushd $out
       mv $diskImage disk.raw
-      tar -Szcf nixos-image-${config.system.nixosLabel}-${pkgs.stdenv.system}.tar.gz disk.raw
+      tar -Szcf nixos-image-${config.system.nixosLabel}-${pkgs.stdenv.system}.raw.tar.gz disk.raw
       rm $out/disk.raw
       popd
     '';