From 4bcc1d34504fb885f24944578e46a5e899ef53be Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:50:35 +0200 Subject: lib.elemAt: 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 6d2596ba88212..3e771d100f9e9 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -65,7 +65,7 @@ let kernel = callLibs ./kernel.nix; inherit (builtins) addErrorContext - elemAt genericClosure getAttr + genericClosure getAttr hasAttr isAttrs isBool isInt isList isPath isString pathExists readFile replaceStrings trace; @@ -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 head tail elem; + length head tail elem elemAt; inherit (self.strings) concatStrings concatMapStrings concatImapStrings stringLength substring intersperse concatStringsSep concatMapStringsSep -- cgit 1.4.1