1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

msmtp: fix passwordeval (#1649)

This commit is contained in:
Jos van Bakel 2020-12-10 22:32:34 +01:00 committed by GitHub
parent 9d775bad07
commit 4f0b0d78af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}'');