diff options
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index c34ba8762f0c..f04c80069914 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -1861,6 +1861,10 @@ let self = _self // overrides; _self = with self; { url = "mirror://cpan/authors/id/J/JS/JSWARTZ/${name}.tar.gz"; sha256 = "c7f1a2b3570a8fede484e933f89ba1729e0abd05935791d146c522dd120ee851"; }; + preConfigure = stdenv.lib.optionalString (stdenv.lib.versionAtLeast perl.version "5.26") '' + # fix error 'Unescaped left brace in regex is illegal here in regex' + substituteInPlace lib/CHI/t/Driver/Subcache/l1_cache.pm --replace 'qr/CHI stats: {' 'qr/CHI stats: \{' + ''; buildInputs = [ TestClass TestDeep TestException TestWarn TimeDate ]; propagatedBuildInputs = [ CarpAssert ClassLoad DataUUID DigestJHash HashMoreUtils JSONMaybeXS ListMoreUtils LogAny Moo MooXTypesMooseLikeNumeric StringRewritePrefix TaskWeaken TimeDuration TimeDurationParse ]; meta = { @@ -2097,6 +2101,10 @@ let self = _self // overrides; _self = with self; { url = "mirror://cpan/authors/id/E/EV/EVO/${name}.tar.gz"; sha256 = "0ricb0mn0i06ngfhq5y035yx8i7ahlx83yyqwixqmv6hg4p79b5c"; }; + preConfigure = stdenv.lib.optionalString (stdenv.lib.versionAtLeast perl.version "5.26") '' + # fix error 'Unescaped left brace in regex is illegal here in regex' + substituteInPlace tests/xemulator/class_methodmaker/Test.pm --replace 's/(TEST\s{)/$1/g' 's/(TEST\s\{)/$1/g' + ''; }; ClassMethodMaker = buildPerlPackage rec { @@ -14018,7 +14026,7 @@ let self = _self // overrides; _self = with self; { license = licenses.gpl3; platforms = platforms.all; maintainers = with maintainers; [ pSub ]; - meta.broken = true; + broken = true; }; }; |