make-ext4-fs: enable parallel compression for zstd

... as done in a couple of other image builders already
This commit is contained in:
DavHau 2024-12-13 00:39:12 +07:00
parent b5b9c20c23
commit 2ec06a51a0

View file

@ -102,7 +102,7 @@ pkgs.stdenv.mkDerivation {
if [ ${builtins.toString compressImage} ]; then
echo "Compressing image"
zstd -v --no-progress ./$img -o $out
zstd -T$NIX_BUILD_CORES -v --no-progress ./$img -o $out
fi
'';
}