diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:30:20 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:45:50 +0200 |
commit | 0a162f4dcdab8f283d471f305735eca9a5a77003 (patch) | |
tree | 379cee39b25100090a2e341a83e0f36ae6eda035 /lib | |
parent | 6e98b0c0c64d856d872d5f883f7121d9006afe89 (diff) |
lib.tail: inherit from lib.lists
Diffstat (limited to 'lib')
-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 81c764c66f5b..0da4361f0157 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 - sub substring tail trace; + sub substring 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 @@ -94,7 +94,7 @@ let reverseList listDfs toposort sort sortOn naturalSort compareLists take drop sublist last init crossLists unique allUnique intersectLists subtractLists mutuallyExclusive groupBy groupBy' concatLists genList - length; + length tail; inherit (self.strings) concatStrings concatMapStrings concatImapStrings stringLength intersperse concatStringsSep concatMapStringsSep |