From 195fa9872c57e69cf5cfd9f6656843deacaeb1b6 Mon Sep 17 00:00:00 2001 From: euxane Date: Tue, 4 Jun 2024 17:02:18 +0200 Subject: [PATCH] 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 --- pkgs/by-name/me/meli/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/me/meli/package.nix b/pkgs/by-name/me/meli/package.nix index ab5d838c0ae4..3a61a3958bc7 100644 --- a/pkgs/by-name/me/meli/package.nix +++ b/pkgs/by-name/me/meli/package.nix @@ -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 ]} '';