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" ]; }); ## FIXME: Revisit + refine these below in a future image minimization effort # util-linux = prev.util-linux.override { # ncursesSupport = false; # nlsSupport = false; # }; # # dbus = prev.dbus.override { # x11Support = false; # }; }