3
0
Fork 0
forked from mirrors/nixpkgs

msmtp: add sendmail symlink to $out/bin

This is useful for applications expecting a 'sendmail' binary in $PATH,
similar how nullmailer and ssmtp do it, too.
This commit is contained in:
Florian Klink 2017-11-18 01:09:43 +01:00
parent b8f7027360
commit 3afa503882

View file

@ -40,6 +40,8 @@ in stdenv.mkDerivation rec {
substitute scripts/msmtpq/msmtp-queue $out/bin/msmtp-queue \
--replace @msmtpq@ $out/bin/msmtpq
ln -s msmtp $out/bin/sendmail
chmod +x $out/bin/*
'';