perl-packages.nix: set minimum version to 5.28.2

This commit is contained in:
volth 2019-04-21 21:43:38 +00:00
parent eb9c14815c
commit 0e1271da29
1 changed files with 4 additions and 5 deletions

View File

@ -8,8 +8,8 @@
{config, pkgs, fetchurl, fetchFromGitHub, stdenv, gnused, perl, overrides, {config, pkgs, fetchurl, fetchFromGitHub, stdenv, gnused, perl, overrides,
buildPackages}: buildPackages}:
# cpan2nix assumes that perl-packages.nix will be used only with perl 5.28.1 or above # cpan2nix assumes that perl-packages.nix will be used only with perl 5.28.2 or above
assert stdenv.lib.versionAtLeast perl.version "5.28.1"; assert stdenv.lib.versionAtLeast perl.version "5.28.2";
let let
inherit (stdenv.lib) maintainers; inherit (stdenv.lib) maintainers;
self = _self // (overrides pkgs); self = _self // (overrides pkgs);
@ -9834,8 +9834,6 @@ let
buildInputs = [ Filepushd ]; buildInputs = [ Filepushd ];
}; };
ModuleCoreList = null; # part of Perl 5.28
ModuleExtractUse = buildPerlModule rec { ModuleExtractUse = buildPerlModule rec {
name = "Module-ExtractUse-0.343"; name = "Module-ExtractUse-0.343";
src = fetchurl { src = fetchurl {
@ -11797,7 +11795,7 @@ let
}; };
buildInputs = [ pkgs.zookeeper_mt ]; buildInputs = [ pkgs.zookeeper_mt ];
# fix "error: format not a string literal and no format arguments [-Werror=format-security]" # fix "error: format not a string literal and no format arguments [-Werror=format-security]"
hardeningDisable = stdenv.lib.optional (stdenv.lib.versionAtLeast perl.version "5.28") "format"; hardeningDisable = [ "format" ];
NIX_CFLAGS_COMPILE = "-I${pkgs.zookeeper_mt}/include"; NIX_CFLAGS_COMPILE = "-I${pkgs.zookeeper_mt}/include";
NIX_CFLAGS_LINK = "-L${pkgs.zookeeper_mt.out}/lib -lzookeeper_mt"; NIX_CFLAGS_LINK = "-L${pkgs.zookeeper_mt.out}/lib -lzookeeper_mt";
meta = { meta = {
@ -17917,6 +17915,7 @@ let
threads = null; # part of Perl 5.28 threads = null; # part of Perl 5.28
TimeHiRes = null; # part of Perl 5.28 TimeHiRes = null; # part of Perl 5.28
UnicodeCollate = null; # part of Perl 5.28 UnicodeCollate = null; # part of Perl 5.28
ModuleCoreList = null; # part of Perl 5.28.2
ArchiveZip_1_53 = self.ArchiveZip; ArchiveZip_1_53 = self.ArchiveZip;
Autobox = self.autobox; Autobox = self.autobox;