From 3afa50388229820e5fafbaf86198c462b5b00097 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 18 Nov 2017 01:09:43 +0100 Subject: [PATCH] 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. --- pkgs/applications/networking/msmtp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/msmtp/default.nix b/pkgs/applications/networking/msmtp/default.nix index 1a409fc885a2..b61207bb373c 100644 --- a/pkgs/applications/networking/msmtp/default.nix +++ b/pkgs/applications/networking/msmtp/default.nix @@ -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/* '';