about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 18:26:49 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 22:45:48 +0200
commit30def45e47540ec1b034fc1dbdcf6619f96ca6a0 (patch)
treeb5e872eb1dbca661aeb4c47a5661a175dcee0d3b /lib
parentc60c3baf238a2a1fb4709e0080560bea574ae36f (diff)
lib.filter: inherit from lib.lists
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 1fa7bd236b117..abe205e68d82d 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -65,7 +65,7 @@ let
     kernel = callLibs ./kernel.nix;
 
     inherit (builtins) add addErrorContext
-      deepSeq elem elemAt filter genericClosure genList getAttr
+      deepSeq elem elemAt genericClosure genList getAttr
       hasAttr head isAttrs isBool isInt isList isPath isString length
       lessThan listToAttrs pathExists readFile replaceStrings seq
       stringLength sub substring tail trace;
@@ -89,7 +89,7 @@ let
       recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets
       mapCartesianProduct updateManyAttrsByPath intersectAttrs removeAttrs;
     inherit (self.lists) singleton forEach map foldr fold foldl foldl' imap0 imap1
-      ifilter0 concatMap flatten remove findSingle findFirst any all count
+      filter ifilter0 concatMap flatten remove findSingle findFirst any all count
       optional optionals toList range replicate partition zipListsWith zipLists
       reverseList listDfs toposort sort sortOn naturalSort compareLists take
       drop sublist last init crossLists unique allUnique intersectLists