From 4142b300aa7df8fb89dd7ea9545330ed2d22dc02 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 31 Mar 2025 08:46:25 +0200 Subject: ... --- overlays/thunderbird.nix | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'overlays/thunderbird.nix') diff --git a/overlays/thunderbird.nix b/overlays/thunderbird.nix index 1a32a0d5..48ae2ccb 100644 --- a/overlays/thunderbird.nix +++ b/overlays/thunderbird.nix @@ -1,12 +1,11 @@ { final, prev, ... }: { thunderbird-unwrapped = prev.thunderbird-unwrapped.overrideAttrs (oldAttrs: { - patches = (oldAttrs.patches or []) ++ [ - (prev.fetchpatch { - url = "https://hg.mozilla.org/comm-central/raw-rev/a82bd8fc0bc0"; - hash = "sha256-7t8IqxwcZJqXmOevpGof1mcrFKZvXtCcY2EOIsP47EY="; - stripLen = 1; - extraPrefix = "comm/"; - }) - ]; + patches = (oldAttrs.patches or []) + ++ prev.lib.optional (prev.lib.versionAtLeast oldAttrs.version "136") (prev.fetchpatch { + url = "https://hg.mozilla.org/comm-central/raw-rev/a82bd8fc0bc0"; + hash = "sha256-7t8IqxwcZJqXmOevpGof1mcrFKZvXtCcY2EOIsP47EY="; + stripLen = 1; + extraPrefix = "comm/"; + }); }); } -- cgit v1.2.3