about summary refs log tree commit diff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 18:28:08 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 22:45:50 +0200
commit357e95419889dc2ea2397814e179ba72b947c1e9 (patch)
tree119b60c4e5355bfb66618da72a1093b0b2f3c731 /lib/default.nix
parentd81f4e5eba64c002a30e73d27b5656b1b98be2ec (diff)
lib.length: inherit from lib.lists
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 460d62eac432e..fdc6b2afce9d0 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -66,7 +66,7 @@ let
 
     inherit (builtins) add addErrorContext
       deepSeq elem elemAt genericClosure getAttr
-      hasAttr head isAttrs isBool isInt isList isPath isString length
+      hasAttr head isAttrs isBool isInt isList isPath isString
       lessThan listToAttrs pathExists readFile replaceStrings seq
       stringLength sub substring tail trace;
     inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
@@ -93,7 +93,8 @@ let
       optional optionals toList range replicate partition zipListsWith zipLists
       reverseList listDfs toposort sort sortOn naturalSort compareLists take
       drop sublist last init crossLists unique allUnique intersectLists
-      subtractLists mutuallyExclusive groupBy groupBy' concatLists genList;
+      subtractLists mutuallyExclusive groupBy groupBy' concatLists genList
+      length;
     inherit (self.strings) concatStrings concatMapStrings concatImapStrings
       intersperse concatStringsSep concatMapStringsSep
       concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput