thunderbird-esr-bin, thunderbird-latest-bin: fix wrapper

The wrapper expects `libDir` exists since
1da3ca7373.

This patch passes proper `libName` to the wrapper.

(cherry picked from commit 0820f8c4f8)
This commit is contained in:
taku0
2026-05-30 15:33:12 +09:00
committed by github-actions[bot]
parent 466c2dafa1
commit c38d7fd90f
2 changed files with 3 additions and 1 deletions

View File

@@ -211,7 +211,7 @@ let
terminal = false;
}
// (
if libName == "thunderbird" then
if lib.strings.hasPrefix "thunderbird" libName then
{
genericName = "Email Client";
comment = "Read and write e-mails or RSS feeds, or manage tasks on calendars.";

View File

@@ -12321,6 +12321,7 @@ with pkgs;
thunderbird-bin = thunderbird-latest-bin;
thunderbird-latest-bin = wrapThunderbird thunderbird-latest-bin-unwrapped {
pname = "thunderbird-bin";
libName = "thunderbird-bin-${thunderbird-latest-bin-unwrapped.version}";
};
thunderbird-latest-bin-unwrapped =
callPackage ../applications/networking/mailreaders/thunderbird-bin
@@ -12329,6 +12330,7 @@ with pkgs;
};
thunderbird-esr-bin = wrapThunderbird thunderbird-esr-bin-unwrapped {
pname = "thunderbird-esr-bin";
libName = "thunderbird-bin-${thunderbird-esr-bin-unwrapped.version}";
};
thunderbird-esr-bin-unwrapped = callPackage ../applications/networking/mailreaders/thunderbird-bin {
generated = import ../applications/networking/mailreaders/thunderbird-bin/release_esr_sources.nix;