diff --git a/maintainers/scripts/nixpkgs-lint.pl b/maintainers/scripts/nixpkgs-lint.pl index c82cf75e3f88..29ecb93c5866 100755 --- a/maintainers/scripts/nixpkgs-lint.pl +++ b/maintainers/scripts/nixpkgs-lint.pl @@ -128,8 +128,8 @@ foreach my $name (sort keys %pkgsByName) { @pkgs = grep { my $x = $drvsSeen{$_->{drvPath}}; $drvsSeen{$_->{drvPath}} = 1; !defined $x } @pkgs; # Filter packages that have a lower priority. - my $highest = min (map { $_->{priority} // 0 } @pkgs); - @pkgs = grep { ($_->{priority} // 0) == $highest } @pkgs; + my $highest = min (map { $_->{meta}->{priority}->{value} // 0 } @pkgs); + @pkgs = grep { ($_->{meta}->{priority}->{value} // 0) == $highest } @pkgs; next if scalar @pkgs == 1;