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 ];
|
buildInputs = [ CaptureTiny ];
|
||||||
propagatedBuildInputs = [ EmailAbstract EmailAddress MooXTypesMooseLike SubExporter Throwable TryTiny ];
|
propagatedBuildInputs = [ EmailAbstract EmailAddress MooXTypesMooseLike SubExporter Throwable TryTiny ];
|
||||||
|
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs --build util
|
patchShebangs --build util
|
||||||
'';
|
'';
|
||||||
|
preCheck = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
shortenPerlShebang util/sendmail
|
||||||
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/rjbs/Email-Sender;
|
homepage = https://github.com/rjbs/Email-Sender;
|
||||||
description = "A library for sending email";
|
description = "A library for sending email";
|
||||||
|
|
Loading…
Reference in a new issue