nix-config/overlays/kitty.nix
Donovan Glover 9aad689f30
overlays: Downgrade kitty from 0.32.0 to 0.31.0
The new version causes icons and some CJK characters to show up as
rectangle boxes. kitty prints "Too many fallback fonts" as output, and
the issue continues to occur in 0.32.1.

Probably caused by https://github.com/kovidgoyal/kitty/issues/6865 and
should be possible to fix with symbol_map in the future.
2024-01-28 03:15:10 -05:00

23 lines
585 B
Nix

{
nixpkgs.overlays = [
(final: prev: {
kitty = prev.kitty.overrideAttrs (oldAttrs: rec {
version = "0.31.0";
src = prev.fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty";
rev = "refs/tags/v${version}";
hash = "sha256-VWWuC4T0pyTgqPNm0gNL1j3FShU5b8S157C1dKLon1g=";
};
goModules = (prev.buildGoModule {
pname = "kitty-go-modules";
inherit src version;
vendorHash = "sha256-OyZAWefSIiLQO0icxMIHWH3BKgNas8HIxLcse/qWKcU=";
}).goModules;
});
})
];
}