nixos: unbreak fcitx5

This commit is contained in:
Guanran Wang 2024-05-03 08:10:55 +08:00
parent 61ebc16a43
commit 5725422b8f
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
2 changed files with 17 additions and 1 deletions

View file

@ -9,5 +9,6 @@ in {
// import ./nautilus.nix {inherit addPatches prev;}
// import ./prismlauncher.nix {inherit addPatches prev;}
// import ./sway.nix {inherit addPatches prev;}
// import ./tailscale.nix {inherit addPatches prev;};
// import ./tailscale.nix {inherit addPatches prev;}
// import ./fcitx5.nix {inherit addPatches prev;};
}

15
overlays/fcitx5.nix Normal file
View file

@ -0,0 +1,15 @@
{
addPatches,
prev,
...
}: {
fcitx5 = addPatches prev.fcitx5 [
# Breaks typing in Firefox and some GTK apps
(prev.fetchpatch {
url = "https://github.com/fcitx/fcitx5/commit/b2924bd361680c493463d240a375b3f0948ae48d.patch";
hash = "sha256-FMbYu1yYDHQ8ndr6Fa/qLL1EIKSTQJwc1YuUiEDiJjc=";
revert = true;
})
];
}