Fix various Perl packages
Perl 5.20 removed some modules, in particular Module::Pluggable. So now other modules need to get it from CPAN. http://hydra.nixos.org/build/17450281
This commit is contained in:
@@ -100,7 +100,7 @@ sub get_deps {
|
||||
foreach my $n (keys %{$deps}) {
|
||||
next if $n eq "perl";
|
||||
# Hacky way to figure out if this module is part of Perl.
|
||||
if ($n !~ /^JSON/ && $n !~ /^YAML/) {
|
||||
if ($n !~ /^JSON/ && $n !~ /^YAML/ && $n !~ /^Module::Pluggable/) {
|
||||
eval "use $n;";
|
||||
if (!$@) {
|
||||
print STDERR "skipping Perl-builtin module $n\n";
|
||||
|
||||
Reference in New Issue
Block a user