fcitx5: fix tests

This commit is contained in:
Robert Helgesson 2024-03-02 21:52:18 +01:00
parent 0992b38e5e
commit 4de84265d7
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -15,7 +15,6 @@
}; };
fcitx5-configtool = { outPath = null; }; fcitx5-configtool = { outPath = null; };
fcitx5-lua = { outPath = null; }; fcitx5-lua = { outPath = null; };
fcitx5-qt = { outPath = null; };
fcitx5-gtk = { outPath = null; }; fcitx5-gtk = { outPath = null; };
fcitx5-chinese-addons = { outPath = null; }; fcitx5-chinese-addons = { outPath = null; };
@ -36,9 +35,18 @@
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (final: super: {
fcitx5-with-addons = libsForQt5 = super.libsForQt5.overrideScope' (qt5prev: qt5final: {
super.fcitx5-with-addons.override { inherit (self) fcitx5-qt; }; fcitx5-qt = super.mkStubPackage { outPath = null; };
});
qt6Packages = super.qt6Packages.overrideScope' (qt6prev: qt6final: {
fcitx5-qt = super.mkStubPackage { outPath = null; };
});
fcitx5-with-addons = super.fcitx5-with-addons.override {
inherit (final) libsForQt5 qt6Packages;
};
}) })
]; ];
} }