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.
This commit is contained in:
Donovan Glover 2024-01-28 02:59:00 -05:00
parent b1dabb9d1b
commit 9aad689f30
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 23 additions and 0 deletions

View File

@ -2,6 +2,7 @@
imports = [
./alejandra.nix
./eza.nix
./kitty.nix
./zola.nix
];
}

22
overlays/kitty.nix Normal file
View File

@ -0,0 +1,22 @@
{
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;
});
})
];
}