Closed sol closed 10 years ago
Yup looks good. To expand upon the motivation a bit, in NixOS
we don't have /usr/sbin
, so we'd want to set up mime-mail
to work with the proper sendmail
path by default.
Looks good!
@snoyberg Thanks a lot. Having it on Hackage would help us a lot ;).
It's already there ;) http://hackage.haskell.org/package/mime-mail-0.4.4.2
:)
This patch allows you to set a custom
sendmail
at compile time. The main motivation to do this is to make the package work with NixOS.GHC's CPP does not support stringification (AFAICT), for that reason you have to specify the quotes explicitly. Here is an example:
@shlevy Just to double check, this is what we want from a Nix perspective, right?