We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 570399a + d8cc1e1 commit a3a6925Copy full SHA for a3a6925
1 file changed
pkgs/disk-script/default.nix
@@ -32,7 +32,7 @@ writeShellApplication {
32
root="$TMP_DIR/root"
33
# gcp requires that disks end in "disk.raw"
34
diskImage="$TMP_DIR/disk.raw"
35
- tarball="$TMP_DIR/disk.sqsh.tar.gz"
+ tarball="$TMP_DIR/disk.raw.tar.gz"
36
37
(
38
mkdir -p "$root/nix/store" "$root/etc/nixmodules"
@@ -49,7 +49,7 @@ writeShellApplication {
49
echo "mksquashfs took $SECONDS seconds" >&2
50
51
SECONDS=0
52
- tar --use-compress-program="pigz --best --recursive | pv" -Scf "$tarball" "$diskImage"
+ tar --use-compress-program="pigz --best --recursive | pv" -Scf "$tarball" disk.raw
53
echo "tar took $SECONDS seconds" >&2
54
55
echo Tarball created at "$tarball" >&2
0 commit comments