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" ]; }); util-linux = prev.util-linux.override { ncursesSupport = false; nlsSupport = false; }; dbus = prev.dbus.override { x11Support = false; }; }