about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 18:26:14 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 21:06:21 +0200
commitc60c3baf238a2a1fb4709e0080560bea574ae36f (patch)
tree8a21b97b5f05e2c83e098c07887e5702423ee15c /lib
parent69f84db44297bfdbc87e31606046e0953e9338ea (diff)
lib.attrNames: inherit from lib.attrsets
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix4
1 files changed, 2 insertions, 2 deletions
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