meli: include notmuch in LD_LIBRARY_PATH by default
This commit is contained in:
parent
7165b9da37
commit
e23883f017
@ -21,6 +21,9 @@
|
|||||||
# runtime deps
|
# runtime deps
|
||||||
gpgme,
|
gpgme,
|
||||||
gnum4,
|
gnum4,
|
||||||
|
|
||||||
|
withNotmuch ? true,
|
||||||
|
notmuch,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -66,7 +69,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
installManPage meli/docs/*.{1,5,7}
|
installManPage meli/docs/*.{1,5,7}
|
||||||
|
|
||||||
wrapProgram $out/bin/meli \
|
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 ]}
|
--prefix PATH : ${lib.makeBinPath [ gnum4 ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user