nix-config/overlays/kitty.nix
Donovan Glover 18acfd0749
meta(flake.nix): Add overlays as outputs
Should make it easier for other repositories to use the overlays from
this repository.
2024-03-31 06:21:47 -04:00

23 lines
591 B
Nix

(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;
patches = (oldAttrs.patches or [ ]) ++ [
../patches/kitty-wlroots-copying-fix.patch
];
});
})