maintainers/scripts/check-hydra-by-maintainer: remove pkgs.lib use

+5 -4
+5 -4
maintainers/scripts/check-hydra-by-maintainer.nix
··· 3 3 pkgs = import ./../../default.nix { 4 4 config.allowAliases = false; 5 5 }; 6 + inherit (pkgs) lib; 6 7 maintainer_ = pkgs.lib.maintainers.${maintainer}; 7 8 packagesWith = cond: return: prefix: set: 8 - (pkgs.lib.flatten 9 - (pkgs.lib.mapAttrsToList 9 + (lib.flatten 10 + (lib.mapAttrsToList 10 11 (name: pkg: 11 12 let 12 13 result = builtins.tryEval 13 14 ( 14 - if pkgs.lib.isDerivation pkg && cond name pkg then 15 + if lib.isDerivation pkg && cond name pkg then 15 16 # Skip packages whose closure fails on evaluation. 16 17 # This happens for pkgs like `python27Packages.djangoql` 17 18 # that have disabled Python pkgs as dependencies. ··· 44 45 ) 45 46 ) 46 47 (name: name) 47 - ("") 48 + "" 48 49 pkgs; 49 50 50 51 in