Skip to content

Commit

Permalink
kitty: Workaround fcitx5 issue
Browse files Browse the repository at this point in the history
Trunk versions of Kitty have a fix for a new fcitx5 problem that has not
been released yet. See kovidgoyal/kitty#7396.
  • Loading branch information
jchv committed May 16, 2024
1 parent 7ae03c4 commit 1a61afc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/programs/kitty/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,19 @@
config = {
environment.etc."xdg/kitty/kitty.conf".source = ./kitty.conf;
environment.systemPackages = with pkgs; [ kitty ];

nixpkgs.overlays = [
(final: prev: {
kitty = prev.kitty.overrideAttrs (prevAttrs: {
patches = (prevAttrs.patches or [ ]) ++ [
(pkgs.fetchpatch {
name = "fcitx-workaround.diff";
url = "https://github.com/kovidgoyal/kitty/commit/aecf07bcbaa74507526d3f700954842176fef4f2.diff";
hash = "sha256-6m4D/xX5dx0v6rhzIyTlkQyCRb2Ik2Ek3q0BrL3saTw=";
})
];
});
})
];
};
}

0 comments on commit 1a61afc

Please sign in to comment.