perlPackages.EmailSender: Fix for macOS
Use shortenPerlShebang to avoid the limit macOS puts on the length of shebang.
This commit is contained in:
parent
e1ce60ae7a
commit
940c46a924
@ -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…
x
Reference in New Issue
Block a user