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

Changed files
+5 -4
maintainers
+5 -4
maintainers/scripts/check-hydra-by-maintainer.nix
···
pkgs = import ./../../default.nix {
config.allowAliases = false;
};
+
inherit (pkgs) lib;
maintainer_ = pkgs.lib.maintainers.${maintainer};
packagesWith = cond: return: prefix: set:
-
(pkgs.lib.flatten
-
(pkgs.lib.mapAttrsToList
+
(lib.flatten
+
(lib.mapAttrsToList
(name: pkg:
let
result = builtins.tryEval
(
-
if pkgs.lib.isDerivation pkg && cond name pkg then
+
if lib.isDerivation pkg && cond name pkg then
# Skip packages whose closure fails on evaluation.
# This happens for pkgs like `python27Packages.djangoql`
# that have disabled Python pkgs as dependencies.
···
)
)
(name: name)
-
("")
+
""
pkgs;
in