summary refs log tree commit diff
path: root/nixos/modules/installer
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-15 08:07:00 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-15 08:07:00 +0200
commit59dda0a42aa88005dab38cbdf1c39267431756a5 (patch)
treefc1635b48ef7c57623d7400ee6274cecc9da03dc /nixos/modules/installer
parent6857bccf12e1b55b75e22342368feef22c78d7b9 (diff)
parent9d0c3ffe6783d59b427d018e8341e0084737fde9 (diff)
downloadnixpkgs-59dda0a42aa88005dab38cbdf1c39267431756a5.tar
nixpkgs-59dda0a42aa88005dab38cbdf1c39267431756a5.tar.gz
nixpkgs-59dda0a42aa88005dab38cbdf1c39267431756a5.tar.bz2
nixpkgs-59dda0a42aa88005dab38cbdf1c39267431756a5.tar.lz
nixpkgs-59dda0a42aa88005dab38cbdf1c39267431756a5.tar.xz
nixpkgs-59dda0a42aa88005dab38cbdf1c39267431756a5.tar.zst
nixpkgs-59dda0a42aa88005dab38cbdf1c39267431756a5.zip
Merge master into staging-next
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r--nixos/modules/installer/cd-dvd/sd-image.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/cd-dvd/sd-image.nix b/nixos/modules/installer/cd-dvd/sd-image.nix
index 589bf74263b..98c12e30633 100644
--- a/nixos/modules/installer/cd-dvd/sd-image.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image.nix
@@ -190,7 +190,7 @@ in
         fsck.vfat -vn firmware_part.img
         dd conv=notrunc if=firmware_part.img of=$img seek=$START count=$SECTORS
         if test -n "$compressImage"; then
-            zstd -T$NIX_BUILD_CORES $img
+            zstd -T$NIX_BUILD_CORES --rm $img
         fi
       '';
     }) {};