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

This commit is contained in:
Matthias Beyer 2025-07-16 14:31:44 +02:00 committed by GitHub
commit 4058f7322f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ]}
'';