diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-03 12:25:37 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-03-03 12:43:11 +0100 |
commit | e2ad72342e7e612a5c9d6966a09ca13b21448c5b (patch) | |
tree | 72db932e601525e6cdf5fd803f8815b18bbf11fb | |
parent | 50b950fe8dc60248144519b5b1888a762c8c7094 (diff) |
nix-generate-from-cpan: Skip "if" package since it's part of Perl now
-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"); |