opensmtpd: Add sendmail to systemPackages

This commit is contained in:
Shea Levy 2014-02-20 06:17:15 -05:00
parent 676f44eb04
commit 2b92e90f91

View File

@ -79,5 +79,10 @@ in {
preStart = "mkdir -p /var/spool";
serviceConfig.ExecStart = "${opensmtpd}/sbin/smtpd -d -f ${conf} ${args}";
};
environment.systemPackages = [ (pkgs.runCommand "opensmtpd-sendmail" {} ''
mkdir -p $out/bin
ln -s ${opensmtpd}/sbin/smtpctl $out/bin/sendmail
'') ];
};
}