diff options
author | volth <volth@webmaster.ms> | 2018-07-06 17:16:54 +0000 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-07-06 19:16:54 +0200 |
commit | 4dc44955e8922d0ebcc667ea669375d816a839e1 (patch) | |
tree | 9a7d43df14e133549f932dc7e0744e294e3ebd44 /pkgs | |
parent | b29440fd1013576c6c73c37eb548b1272dfaf219 (diff) | |
download | nixpkgs-4dc44955e8922d0ebcc667ea669375d816a839e1.tar nixpkgs-4dc44955e8922d0ebcc667ea669375d816a839e1.tar.gz nixpkgs-4dc44955e8922d0ebcc667ea669375d816a839e1.tar.bz2 nixpkgs-4dc44955e8922d0ebcc667ea669375d816a839e1.tar.lz nixpkgs-4dc44955e8922d0ebcc667ea669375d816a839e1.tar.xz nixpkgs-4dc44955e8922d0ebcc667ea669375d816a839e1.tar.zst nixpkgs-4dc44955e8922d0ebcc667ea669375d816a839e1.zip |
perlPackages: fix meta and fix build with perl-5.26 (#42909)
Diffstat (limited to 'pkgs')
-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 c34ba8762f0..f04c8006991 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; }; }; |