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:
@@ -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 ]}
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user