From 00972297be0f3b9cb0ec6f483a4c6fd2505b4b3f Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:31:28 +0200 Subject: lib.substring: inherit from lib.strings --- lib/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/default.nix b/lib/default.nix index 51994b24e90d6..911e4f5f71d06 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -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 -- cgit 1.4.1