l 2 mail: use exec and writeDashBin

This commit is contained in:
lassulus 2016-04-19 13:37:23 +02:00
parent cafbb3102b
commit b5f18ab839

View File

@ -10,8 +10,8 @@ let
account default: prism
'';
msmtp = pkgs.writeScriptBin "msmtp" ''
${pkgs.msmtp}/bin/msmtp -C ${msmtprc} $@
msmtp = pkgs.writeDashBin "msmtp" ''
exec ${pkgs.msmtp}/bin/msmtp -C ${msmtprc} $@
'';
muttrc = pkgs.writeText "muttrc" ''
@ -74,8 +74,8 @@ let
macro index ~ ,@( 'Toggle sidebar' # toggle the sidebar
'';
mutt = pkgs.writeScriptBin "mutt" ''
${pkgs.mutt-kz}/bin/mutt -F ${muttrc} $@
mutt = pkgs.writeDashBin "mutt" ''
exec ${pkgs.mutt-kz}/bin/mutt -F ${muttrc} $@
'';
in {