{ pkgs }: pkgs.stdenv.mkDerivation { name = "orange-rootfs.img.zstd"; nativeBuildInputs = with pkgs; [ zstd ]; buildCommand = '' truncate -s 512M ./rootfs.img zstd -T$NIX_BUILD_CORES ./rootfs.img -o $out ''; }