lib.substring: inherit from lib.strings

This commit is contained in:
Silvan Mosberger 2024-06-20 18:31:28 +02:00
parent f6cbaeca60
commit 00972297be

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