overlays: tighter scope

This commit is contained in:
Guanran Wang 2024-07-31 14:46:09 +08:00
parent 2f57cad936
commit 0aa66218ed
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -22,13 +22,18 @@ in {
}; };
# HACK: no more qt5 # HACK: no more qt5
libsForQt5 = prev.libsForQt5.overrideScope (_qt5final: _qt5prev: { qt6Packages = prev.qt6Packages.overrideScope (_qt6final: qt6prev: {
fcitx5-qt = prev.emptyDirectory; fcitx5-with-addons = qt6prev.fcitx5-with-addons.override {
libsForQt5.fcitx5-qt = prev.emptyDirectory;
};
}); });
# HACK: no more gtk2 # HACK: no more gtk2
gnome-themes-extra =
(prev.gnome-themes-extra.override {
gtk2 = prev.emptyDirectory; gtk2 = prev.emptyDirectory;
gnome-themes-extra = prev.gnome-themes-extra.overrideAttrs { })
.overrideAttrs {
configureFlags = ["--disable-gtk2-engine"]; configureFlags = ["--disable-gtk2-engine"];
}; };