{ prev, ... }: # Build mkfs.erofs with zstd support prev.erofs-utils.overrideAttrs (final: p: { buildInputs = p.buildInputs ++ [ prev.zstd ]; configureFlags = p.configureFlags ++ [ "--enable-multithreading" "--enable-zstd" ]; })