lib.substring: inherit from lib.strings

(cherry picked from commit 00972297be)
This commit is contained in:
Silvan Mosberger 2024-06-20 18:31:28 +02:00 committed by github-actions[bot]
parent 1388e0e034
commit bb10409bd4

View File

@ -68,7 +68,7 @@ let
deepSeq elem elemAt genericClosure getAttr
hasAttr isAttrs isBool isInt isList isPath isString
lessThan listToAttrs pathExists readFile replaceStrings seq
sub substring trace;
sub 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,7 +96,7 @@ let
subtractLists mutuallyExclusive groupBy groupBy' concatLists genList
length head tail;
inherit (self.strings) concatStrings concatMapStrings concatImapStrings
stringLength
stringLength substring
intersperse concatStringsSep concatMapStringsSep
concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput
makeLibraryPath makeIncludePath makeBinPath optionalString