summaryrefslogtreecommitdiff
path: root/lib/default.nix
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/default.nix
parentlib.substring: inherit from lib.strings (diff)
downloadnixpkgs-597f62d78254c6cb4bf4f4e15a4aa8f001047d89.tar.gz
lib.listToAttrs: inherit from lib.attrsets
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 911e4f5f71d0..8c014cd0d9e5 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