tv alacritty: fix touchscreen scrolling

This commit is contained in:
tv 2023-06-26 19:23:00 +02:00
parent f9e82b4ffc
commit a5b44e13fa

View File

@ -1,14 +1,16 @@
self: super: self: super:
super.alacritty.overrideAttrs (old: super.alacritty.overrideAttrs (old:
assert self.lib.versions.majorMinor old.version == "0.11"; if self.lib.versions.majorMinor old.version == "0.12" then
{ {
version = "${old.version}-tv"; version = "${old.version}-tv";
src = self.fetchFromGitHub { src = self.fetchFromGitHub {
owner = "4z3"; owner = "4z3";
repo = "alacritty"; repo = "alacritty";
rev = "touchscreen-support-0.11"; rev = "touchscreen-support-0.12";
hash = "sha256-oA4earrJ7lPVSBm9vRccWatAQ49hfDKsa7M72B5uQpY="; hash = "sha256-yDG7IeQUmJhKMJebhMDzHLb3UHGLcO1FVZnmGe5Xr9w=";
}; };
} }
else
builtins.trace "not overriding alacritty because unsupported version" {}
) )