diff options
author | Jos van Bakel <jos@codeaddict.org> | 2020-12-10 22:32:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 22:32:34 +0100 |
commit | 4f0b0d78af7d1d1004770e6b9202e5a74d18a55b (patch) | |
tree | e6f05d196d49d36bbd3b9d6ac36be5b8ce7463d2 | |
parent | 9d775bad0717d9a1fad749edabf3b37fcaa94bf3 (diff) |
msmtp: fix passwordeval (#1649)
-rw-r--r-- | modules/programs/msmtp.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/programs/msmtp.nix b/modules/programs/msmtp.nix index 7357b615b1da..f7745d33bb5a 100644 --- a/modules/programs/msmtp.nix +++ b/modules/programs/msmtp.nix @@ -26,8 +26,7 @@ let tls_fingerprint = msmtp.tls.fingerprint; } // optionalAttrs (smtp.port != null) { port = toString smtp.port; } // optionalAttrs (passwordCommand != null) { - passwordeval = - ''${pkgs.bash}/bin/bash -c "${toString passwordCommand}"''; + passwordeval = toString passwordCommand; } // msmtp.extraConfig) ++ optional primary '' account default : ${name}''); |