From c60c3baf238a2a1fb4709e0080560bea574ae36f Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:26:14 +0200 Subject: lib.attrNames: inherit from lib.attrsets --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/default.nix b/lib/default.nix index 998f7c1c48b56..1fa7bd236b117 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -64,7 +64,7 @@ let # linux kernel configuration kernel = callLibs ./kernel.nix; - inherit (builtins) add addErrorContext attrNames + inherit (builtins) add addErrorContext deepSeq elem elemAt filter genericClosure genList getAttr hasAttr head isAttrs isBool isInt isList isPath isString length lessThan listToAttrs pathExists readFile replaceStrings seq @@ -79,7 +79,7 @@ let inherit (self.fixedPoints) fix fix' converge extends composeExtensions composeManyExtensions makeExtensible makeExtensibleWithCustomName; inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath - getAttrFromPath attrVals attrValues getAttrs catAttrs filterAttrs + getAttrFromPath attrVals attrNames attrValues getAttrs catAttrs filterAttrs filterAttrsRecursive foldlAttrs foldAttrs collect nameValuePair mapAttrs mapAttrs' mapAttrsToList attrsToList concatMapAttrs mapAttrsRecursive mapAttrsRecursiveCond genAttrs isDerivation toDerivation optionalAttrs -- cgit 1.4.1