diff options
author | Niklas Hambüchen <mail@nh2.me> | 2020-12-22 01:49:45 +0100 |
---|---|---|
committer | Niklas Hambüchen <mail@nh2.me> | 2020-12-22 01:49:45 +0100 |
commit | e72bd9f0897123513fd382e8f93f9b3707ba7768 (patch) | |
tree | 2bcb18c57aa98839e035026206edc43f0b927b6b /pkgs | |
parent | 2767936180704f4fa7aab886594703985698c2cc (diff) |
thunderbird-bin: Add gpg/gpgme dependencies. Fixes #98765
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix index 8cdd27653e235..967e2ac86a3b7 100644 --- a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix +++ b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix @@ -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 { |