Merge pull request #44421 from volth/perl-524-528
perl: 5.24.4 -> 5.28.0
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
perl:
|
||||
{ lib, stdenv, perl }:
|
||||
|
||||
{ nativeBuildInputs ? [], name, ... } @ attrs:
|
||||
|
||||
perl.stdenv.mkDerivation (
|
||||
stdenv.mkDerivation (
|
||||
(
|
||||
perl.stdenv.lib.recursiveUpdate
|
||||
lib.recursiveUpdate
|
||||
{
|
||||
outputs = [ "out" "devdoc" ];
|
||||
|
||||
@@ -23,13 +23,17 @@ perl.stdenv.mkDerivation (
|
||||
# the results are not being monitored by a human being."
|
||||
AUTOMATED_TESTING = true;
|
||||
|
||||
# current directory (".") is removed from @INC in Perl 5.26 but many old libs rely on it
|
||||
# https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod#Removal-of-the-current-directory-%28%22.%22%29-from-@INC
|
||||
PERL_USE_UNSAFE_INC = lib.optionalString (lib.versionAtLeast (lib.getVersion perl) "5.26") "1";
|
||||
|
||||
meta.homepage = "https://metacpan.org/release/${(builtins.parseDrvName name).name}";
|
||||
}
|
||||
attrs
|
||||
)
|
||||
//
|
||||
{
|
||||
name = "perl-" + name;
|
||||
name = "perl${lib.getVersion perl}-${name}";
|
||||
builder = ./builder.sh;
|
||||
nativeBuildInputs = nativeBuildInputs ++ [ (perl.dev or perl) ];
|
||||
inherit perl;
|
||||
|
||||
Reference in New Issue
Block a user