patos/overlays/default.nix
Daniel Lundin 892d1b72f8
Some checks failed
ci/woodpecker/push/ci Pipeline failed
Disable overlays for linux-utils and dbus for now.
We probably want to revisit this later when minimizing the image, but
let's avoid rebuilding most of the world at this point.
2024-10-24 12:48:11 +02:00

21 lines
532 B
Nix

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;
# };
}