From 0a162f4dcdab8f283d471f305735eca9a5a77003 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:30:20 +0200 Subject: lib.tail: inherit from lib.lists --- 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 81c764c66f5b4..0da4361f0157e 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 -- cgit 1.4.1