mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
lib.filter: inherit from lib.lists
This commit is contained in:
parent
c60c3baf23
commit
30def45e47
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ let
|
||||||
kernel = callLibs ./kernel.nix;
|
kernel = callLibs ./kernel.nix;
|
||||||
|
|
||||||
inherit (builtins) add addErrorContext
|
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
|
hasAttr head isAttrs isBool isInt isList isPath isString length
|
||||||
lessThan listToAttrs pathExists readFile replaceStrings seq
|
lessThan listToAttrs pathExists readFile replaceStrings seq
|
||||||
stringLength sub substring tail trace;
|
stringLength sub substring tail trace;
|
||||||
|
@ -89,7 +89,7 @@ let
|
||||||
recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets
|
recurseIntoAttrs dontRecurseIntoAttrs cartesianProduct cartesianProductOfSets
|
||||||
mapCartesianProduct updateManyAttrsByPath intersectAttrs removeAttrs;
|
mapCartesianProduct updateManyAttrsByPath intersectAttrs removeAttrs;
|
||||||
inherit (self.lists) singleton forEach map foldr fold foldl foldl' imap0 imap1
|
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
|
optional optionals toList range replicate partition zipListsWith zipLists
|
||||||
reverseList listDfs toposort sort sortOn naturalSort compareLists take
|
reverseList listDfs toposort sort sortOn naturalSort compareLists take
|
||||||
drop sublist last init crossLists unique allUnique intersectLists
|
drop sublist last init crossLists unique allUnique intersectLists
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue