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:
parent
1388e0e034
commit
bb10409bd4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue