From 03daab729e9c694131ad8d3effa1b80b462b04ef Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Thu, 4 Nov 2021 18:25:06 -0700 Subject: [PATCH] perlPackages.XMLLibXML: fix build on darwin --- pkgs/top-level/perl-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index f49883923034..df6739030050 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -24686,7 +24686,8 @@ let sha256 = "068nhmld1031grgi4qm7k5niwxlbn6qd08zf6g1gj4c7qfas62q1"; }; SKIP_SAX_INSTALL = 1; - buildInputs = [ AlienBuild AlienLibxml2 ]; + buildInputs = [ AlienBuild AlienLibxml2 ] + ++ lib.optional stdenv.isDarwin pkgs.libiconv; propagatedBuildInputs = [ XMLSAX ]; };