nixos: nuke qtwebengine, opencc
This commit is contained in:
parent
be2eeb3025
commit
ab58849e80
1 changed files with 21 additions and 3 deletions
|
@ -21,11 +21,29 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# HACK: no more qt5
|
qt6Packages = prev.qt6Packages.overrideScope (_final': prev': {
|
||||||
qt6Packages = prev.qt6Packages.overrideScope (_qt6final: qt6prev: {
|
# HACK: no more qt5
|
||||||
fcitx5-with-addons = qt6prev.fcitx5-with-addons.override {
|
fcitx5-with-addons = prev'.fcitx5-with-addons.override {
|
||||||
libsForQt5.fcitx5-qt = prev.emptyDirectory;
|
libsForQt5.fcitx5-qt = prev.emptyDirectory;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# HACK: no more qtwebengine, opencc
|
||||||
|
fcitx5-chinese-addons =
|
||||||
|
(prev'.fcitx5-chinese-addons.override {
|
||||||
|
curl = prev.emptyDirectory;
|
||||||
|
opencc = prev.emptyDirectory;
|
||||||
|
qtwebengine = prev.emptyDirectory;
|
||||||
|
})
|
||||||
|
.overrideAttrs (oldAttrs: {
|
||||||
|
buildInputs = oldAttrs.buildInputs ++ [prev.gettext prev'.qtbase];
|
||||||
|
cmakeFlags =
|
||||||
|
oldAttrs.cmakeFlags
|
||||||
|
++ [
|
||||||
|
(prev.lib.cmakeBool "ENABLE_BROWSER" false)
|
||||||
|
(prev.lib.cmakeBool "ENABLE_CLOUDPINYIN" false)
|
||||||
|
(prev.lib.cmakeBool "ENABLE_OPENCC" false)
|
||||||
|
];
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
# HACK: no more gtk2
|
# HACK: no more gtk2
|
||||||
|
|
Loading…
Reference in a new issue