self: super: let msmtp = super.msmtp.overrideAttrs (attrs: rec { configureFlags = attrs.configureFlags ++ [ "--with-tls=openssl" ]; buildInputs = attrs.buildInputs ++ [ super.openssl ]; }); in { # inherit msmtp; }