diff options
author | euxane <euxane.trangirard@pacien.net> | 2024-06-04 17:02:18 +0200 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-06-05 14:23:15 +0000 |
commit | 8d38c4a5b9f7e7d49261e7317ad31a234dd964ff (patch) | |
tree | 80390de2299d308530a80d8b32696c0f8e8c99c3 | |
parent | fcd3d98d26a26d3adc2ffddb0908e60b08fc4b03 (diff) |
meli: add gpgme to runtime lib path
Meli looks for libgpgme at runtime to handle message encryption and decryption. This patch solves the error: Decryption failed: libgpgme.so: cannot open shared object file: No such file or directory GitHub: closes https://github.com/NixOS/nixpkgs/issues/174767 (cherry picked from commit 195fa9872c57e69cf5cfd9f6656843deacaeb1b6)
-rw-r--r-- | pkgs/applications/networking/mailreaders/meli/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/meli/default.nix b/pkgs/applications/networking/mailreaders/meli/default.nix index 1ce4c39da7a3f..13f32cc673407 100644 --- a/pkgs/applications/networking/mailreaders/meli/default.nix +++ b/pkgs/applications/networking/mailreaders/meli/default.nix @@ -17,6 +17,7 @@ , sqlite # runtime deps +, gpgme , gnum4 }: @@ -54,6 +55,7 @@ rustPlatform.buildRustPackage rec { installManPage meli/docs/*.{1,5,7} wrapProgram $out/bin/meli \ + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gpgme ]} \ --prefix PATH : ${lib.makeBinPath [ gnum4 ]} ''; |