diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 18:48:21 +0200 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2024-06-20 22:47:01 +0200 |
commit | 46b7bbb660cfe1a6107e4b42411cd1aa16901ead (patch) | |
tree | 93eb8f507bed9644fb09f835f999a21411e2fbe4 /lib | |
parent | f341dca2a24c0deefea5eb6ed1e4cf0b3392fec9 (diff) |
lib.elem: 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 33d56a52dced..6d2596ba8821 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 |