1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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