msmtp: fix passwordeval (#1649)
This commit is contained in:
parent
9d775bad07
commit
4f0b0d78af
|
@ -26,8 +26,7 @@ let
|
||||||
tls_fingerprint = msmtp.tls.fingerprint;
|
tls_fingerprint = msmtp.tls.fingerprint;
|
||||||
} // optionalAttrs (smtp.port != null) { port = toString smtp.port; }
|
} // optionalAttrs (smtp.port != null) { port = toString smtp.port; }
|
||||||
// optionalAttrs (passwordCommand != null) {
|
// optionalAttrs (passwordCommand != null) {
|
||||||
passwordeval =
|
passwordeval = toString passwordCommand;
|
||||||
''${pkgs.bash}/bin/bash -c "${toString passwordCommand}"'';
|
|
||||||
} // msmtp.extraConfig) ++ optional primary ''
|
} // msmtp.extraConfig) ++ optional primary ''
|
||||||
|
|
||||||
account default : ${name}'');
|
account default : ${name}'');
|
||||||
|
|
Loading…
Reference in a new issue