forked from mirrors/nixpkgs
thunderbird-bin: Add gpg/gpgme dependencies. Fixes #98765
This commit is contained in:
parent
2767936180
commit
e72bd9f089
|
@ -39,6 +39,7 @@
|
||||||
, gnused
|
, gnused
|
||||||
, gnugrep
|
, gnugrep
|
||||||
, gnupg
|
, gnupg
|
||||||
|
, gpgme
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -118,6 +119,9 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
# See "Note on GPG support" in `../thunderbird/default.nix` for explanations
|
||||||
|
# on adding `gnupg` and `gpgme` into PATH/LD_LIBRARY_PATH.
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
mkdir -p "$prefix/usr/lib/thunderbird-bin-${version}"
|
mkdir -p "$prefix/usr/lib/thunderbird-bin-${version}"
|
||||||
|
@ -158,7 +162,9 @@ stdenv.mkDerivation {
|
||||||
--suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
|
--suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
|
||||||
--set SNAP_NAME "thunderbird" \
|
--set SNAP_NAME "thunderbird" \
|
||||||
--set MOZ_LEGACY_PROFILES 1 \
|
--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 {
|
passthru.updateScript = import ./../../browsers/firefox-bin/update.nix {
|
||||||
|
|
Loading…
Reference in a new issue