summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/override/alacritty.nix
blob: f864fff630e4edc0b865a15fdbc671c773e2cd1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
self: super:

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