2024-10-05 17:19:30 +02:00
|
|
|
final: prev: {
|
2024-10-11 15:06:27 +02:00
|
|
|
# Build mkfs.erofs with zstd support
|
2024-10-05 17:19:30 +02:00
|
|
|
erofs-utils = prev.erofs-utils.overrideAttrs (old: {
|
|
|
|
buildInputs = old.buildInputs ++ [ prev.zstd ];
|
|
|
|
configureFlags = old.configureFlags ++ [
|
2024-10-16 17:05:33 +02:00
|
|
|
"--enable-multithreading"
|
2024-10-05 17:19:30 +02:00
|
|
|
"--enable-zstd"
|
|
|
|
];
|
|
|
|
});
|
2024-10-13 23:39:56 +02:00
|
|
|
|
2024-10-23 22:13:40 +02:00
|
|
|
## FIXME: Revisit + refine these below in a future image minimization effort
|
2024-10-13 23:39:56 +02:00
|
|
|
|
2024-10-23 22:13:40 +02:00
|
|
|
# util-linux = prev.util-linux.override {
|
|
|
|
# ncursesSupport = false;
|
|
|
|
# nlsSupport = false;
|
|
|
|
# };
|
|
|
|
#
|
|
|
|
# dbus = prev.dbus.override {
|
|
|
|
# x11Support = false;
|
|
|
|
# };
|
2024-10-05 17:19:30 +02:00
|
|
|
}
|