diff options
author | lassulus <git@lassul.us> | 2023-07-03 14:15:56 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-07-03 14:15:56 +0200 |
commit | 0e6c1e2d948244d2fe3295740bea94a1c42bc836 (patch) | |
tree | 9fd340d134805b8942196752947032588bb9beaa /tv/5pkgs/override/alacritty.nix | |
parent | 4638e7b16d1ed40285bf40a48ae16b9186907bbe (diff) | |
parent | cb72e9697971e51f55a939d5a3a40d18cbf50f4d (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/5pkgs/override/alacritty.nix')
-rw-r--r-- | tv/5pkgs/override/alacritty.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/tv/5pkgs/override/alacritty.nix b/tv/5pkgs/override/alacritty.nix index 17baa048f..f864fff63 100644 --- a/tv/5pkgs/override/alacritty.nix +++ b/tv/5pkgs/override/alacritty.nix @@ -1,14 +1,16 @@ self: super: super.alacritty.overrideAttrs (old: - assert self.lib.versions.majorMinor old.version == "0.11"; - { - version = "${old.version}-tv"; - src = self.fetchFromGitHub { - owner = "4z3"; - repo = "alacritty"; - rev = "touchscreen-support-0.11"; - hash = "sha256-oA4earrJ7lPVSBm9vRccWatAQ49hfDKsa7M72B5uQpY="; - }; - } + 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" {} ) |