thunderbird-bin: Add gpg/gpgme dependencies. Fixes #98765

This commit is contained in:
Niklas Hambüchen 2020-12-22 01:49:45 +01:00
parent 2767936180
commit e72bd9f089

View File

@ -39,6 +39,7 @@
, gnused
, gnugrep
, gnupg
, gpgme
, runtimeShell
}:
@ -118,6 +119,9 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
# See "Note on GPG support" in `../thunderbird/default.nix` for explanations
# on adding `gnupg` and `gpgme` into PATH/LD_LIBRARY_PATH.
installPhase =
''
mkdir -p "$prefix/usr/lib/thunderbird-bin-${version}"
@ -158,7 +162,9 @@ stdenv.mkDerivation {
--suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
--set SNAP_NAME "thunderbird" \
--set MOZ_LEGACY_PROFILES 1 \
--set MOZ_ALLOW_DOWNGRADE 1
--set MOZ_ALLOW_DOWNGRADE 1 \
--prefix PATH : "${stdenv.lib.getBin gnupg}/bin" \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.getLib gpgme}/lib"
'';
passthru.updateScript = import ./../../browsers/firefox-bin/update.nix {