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:32:38 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 22:46:59 +0200
commit597f62d78254c6cb4bf4f4e15a4aa8f001047d89 (patch)
treedb64d4337fd9f83d500fc3b111fdd8e05b9e9169 /lib
parent00972297be0f3b9cb0ec6f483a4c6fd2505b4b3f (diff)
lib.listToAttrs: 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 911e4f5f71d06..8c014cd0d9e56 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -67,7 +67,7 @@ let
     inherit (builtins) add addErrorContext
       deepSeq elem elemAt genericClosure getAttr
       hasAttr isAttrs isBool isInt isList isPath isString
-      lessThan listToAttrs pathExists readFile replaceStrings seq
+      lessThan pathExists readFile replaceStrings seq
       sub trace;
     inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
       bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
@@ -87,7 +87,7 @@ let
       recursiveUpdate matchAttrs mergeAttrsList overrideExisting showAttrPath getOutput
       getBin getLib getDev getMan chooseDevOutputs zipWithNames zip
       recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets
-      mapCartesianProduct updateManyAttrsByPath intersectAttrs removeAttrs;
+      mapCartesianProduct updateManyAttrsByPath listToAttrs intersectAttrs removeAttrs;
     inherit (self.lists) singleton forEach map foldr fold foldl foldl' imap0 imap1
       filter ifilter0 concatMap flatten remove findSingle findFirst any all count
       optional optionals toList range replicate partition zipListsWith zipLists