1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 13:57:31 +02:00

fcitx5: fix tests

This commit is contained in:
Robert Helgesson 2024-03-02 21:52:18 +01:00 committed by Mikilio
parent 85f3c41ef2
commit 0e561e8755
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

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;
};
}) })
]; ];
} }