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