diff options
| author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:50:35 +0200 |
|---|---|---|
| committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:47:01 +0200 |
| commit | 4bcc1d34504fb885f24944578e46a5e899ef53be (patch) | |
| tree | 5de325e9e7d42b2276c315ad4839c6fb90c662f2 /lib | |
| parent | lib.elem: inherit from lib.lists (diff) | |
| download | nixpkgs-4bcc1d34504fb885f24944578e46a5e899ef53be.tar.gz | |
lib.elemAt: 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 6d2596ba8821..3e771d100f9e 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 |
