Commit 195fa987 authored by euxane's avatar euxane
Browse files

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
parent da2c0618
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 ]}
  '';