diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:31:28 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:45:50 +0200 |
commit | 00972297be0f3b9cb0ec6f483a4c6fd2505b4b3f (patch) | |
tree | 7abe49a22a750639f1137411b9dd7e7d7c84f2c6 | |
parent | f6cbaeca60d641d71377050cef27f6cdf74f8b72 (diff) |
lib.substring: inherit from lib.strings
-rw-r--r-- | lib/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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 |