diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index d746a45753c9..6e62e7c5bd38 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -14116,6 +14116,7 @@ let self = _self // overrides; _self = with self; { preConfigure = '' substituteInPlace Makefile.PL --replace '"cpp"' '"gcc -E"' + substituteInPlace Makefile.PL --replace '_LASTENTRY\z' '_LASTENTRY\z|CURL_DID_MEMORY_FUNC_TYPEDEFS\z' ''; doCheck = false; # performs network access };