From b5f18ab839432b07a88ee34e0e98dc343a50e854 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 19 Apr 2016 13:37:23 +0200 Subject: l 2 mail: use exec and writeDashBin --- lass/2configs/mail.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lass') diff --git a/lass/2configs/mail.nix b/lass/2configs/mail.nix index ff4dff090..e29b6d9b2 100644 --- a/lass/2configs/mail.nix +++ b/lass/2configs/mail.nix @@ -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 { -- cgit v1.2.3