From 6e98b0c0c64d856d872d5f883f7121d9006afe89 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:29:27 +0200 Subject: lib.stringLength: inherit from lib.strings --- lib/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/default.nix b/lib/default.nix index fdc6b2afce9d0..81c764c66f5b4 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -68,7 +68,7 @@ let deepSeq elem elemAt genericClosure getAttr hasAttr head isAttrs isBool isInt isList isPath isString lessThan listToAttrs pathExists readFile replaceStrings seq - stringLength sub substring tail trace; + sub substring tail trace; inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max importJSON importTOML warn warnIf warnIfNot throwIf throwIfNot checkListOfEnum @@ -96,6 +96,7 @@ let subtractLists mutuallyExclusive groupBy groupBy' concatLists genList length; inherit (self.strings) concatStrings concatMapStrings concatImapStrings + stringLength intersperse concatStringsSep concatMapStringsSep concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput makeLibraryPath makeIncludePath makeBinPath optionalString -- cgit 1.4.1