patos/overlays/default.nix

22 lines
532 B
Nix
Raw Normal View History

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