3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #77147 from hamishmack/email-sender-macos

perlPackages.EmailSender: Fix for macOS
This commit is contained in:
Matthew Bauer 2020-01-08 15:25:54 -05:00 committed by GitHub
commit 0ab7cf72c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";