Unverified Commit 4058f732 authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

meli: include notmuch in LD_LIBRARY_PATH by default (#424622)

parents 78eec232 e23883f0
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@
  # runtime deps
  gpgme,
  gnum4,

  withNotmuch ? true,
  notmuch,
}:

rustPlatform.buildRustPackage rec {
@@ -66,7 +69,9 @@ rustPlatform.buildRustPackage rec {
    installManPage meli/docs/*.{1,5,7}

    wrapProgram $out/bin/meli \
      --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gpgme ]} \
      --prefix LD_LIBRARY_PATH : ${
        lib.makeLibraryPath ([ gpgme ] ++ lib.optional withNotmuch notmuch)
      } \
      --prefix PATH : ${lib.makeBinPath [ gnum4 ]}
  '';