From 46b7bbb660cfe1a6107e4b42411cd1aa16901ead Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 20 Jun 2024 18:48:21 +0200 Subject: lib.elem: 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 33d56a52dced2..6d2596ba88212 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -65,7 +65,7 @@ let kernel = callLibs ./kernel.nix; inherit (builtins) addErrorContext - elem elemAt genericClosure getAttr + elemAt 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; + length head tail elem; inherit (self.strings) concatStrings concatMapStrings concatImapStrings stringLength substring intersperse concatStringsSep concatMapStringsSep -- cgit 1.4.1