diff options
Diffstat (limited to 'maintainers')
-rwxr-xr-x | maintainers/scripts/nix-generate-from-cpan.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/nix-generate-from-cpan.pl b/maintainers/scripts/nix-generate-from-cpan.pl index a2edf165554c..73e13bfe09a6 100755 --- a/maintainers/scripts/nix-generate-from-cpan.pl +++ b/maintainers/scripts/nix-generate-from-cpan.pl @@ -279,7 +279,7 @@ sub get_deps { next if $n eq "perl"; # Hacky way to figure out if this module is part of Perl. - if ( $n !~ /^JSON/ && $n !~ /^YAML/ && $n !~ /^Module::Pluggable/ ) { + if ( $n !~ /^JSON/ && $n !~ /^YAML/ && $n !~ /^Module::Pluggable/ && $n !~ /^if$/ ) { eval "use $n;"; if ( !$@ ) { DEBUG("skipping Perl-builtin module $n"); |