diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:29:27 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:45:50 +0200 |
commit | 6e98b0c0c64d856d872d5f883f7121d9006afe89 (patch) | |
tree | 7f38037bb0d267c70324c39cb5d33ecdfa9ac357 /lib | |
parent | 357e95419889dc2ea2397814e179ba72b947c1e9 (diff) |
lib.stringLength: inherit from lib.strings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index fdc6b2afce9d0..81c764c66f5b4 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -68,7 +68,7 @@ let deepSeq elem elemAt genericClosure getAttr hasAttr head isAttrs isBool isInt isList isPath isString lessThan listToAttrs pathExists readFile replaceStrings seq - stringLength sub substring tail trace; + sub substring tail 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,6 +96,7 @@ let subtractLists mutuallyExclusive groupBy groupBy' concatLists genList length; inherit (self.strings) concatStrings concatMapStrings concatImapStrings + stringLength intersperse concatStringsSep concatMapStringsSep concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput makeLibraryPath makeIncludePath makeBinPath optionalString |