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
This commit is contained in:
euxane
2024-06-04 17:02:18 +02:00
parent da2c061877
commit 195fa9872c
+2
View File
@@ -17,6 +17,7 @@
, sqlite
# runtime deps
, gpgme
, gnum4
}:
@@ -60,6 +61,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 ]}
'';