forked from mirrors/nixpkgs
Merge pull request #77147 from hamishmack/email-sender-macos
perlPackages.EmailSender: Fix for macOS
This commit is contained in:
commit
0ab7cf72c3
|
@ -6102,9 +6102,13 @@ let
|
|||
};
|
||||
buildInputs = [ CaptureTiny ];
|
||||
propagatedBuildInputs = [ EmailAbstract EmailAddress MooXTypesMooseLike SubExporter Throwable TryTiny ];
|
||||
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
postPatch = ''
|
||||
patchShebangs --build util
|
||||
'';
|
||||
preCheck = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang util/sendmail
|
||||
'';
|
||||
meta = {
|
||||
homepage = https://github.com/rjbs/Email-Sender;
|
||||
description = "A library for sending email";
|
||||
|
|
Loading…
Reference in a new issue