Skip to content

Commit

Permalink
thunderbird-bin: Add gpg/gpgme dependencies. Fixes NixOS#98765
Browse files Browse the repository at this point in the history
  • Loading branch information
nh2 committed Dec 22, 2020
1 parent 2767936 commit e72bd9f
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -39,6 +39,7 @@
, gnused
, gnugrep
, gnupg
, gpgme
, runtimeShell
}:

Expand Down Expand Up @@ -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}"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit e72bd9f

Please sign in to comment.