mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
Move collect to inside lib
This commit is contained in:
parent
d5e7291b82
commit
64e2dc5f71
3 changed files with 25 additions and 22 deletions
7
lib/filesystem.nix
Normal file
7
lib/filesystem.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
_: self: super: let
|
||||
inherit (self) filter hasSuffix;
|
||||
inherit (self.filesystem) listFilesRecursive;
|
||||
in {
|
||||
collect = path: listFilesRecursive path
|
||||
|> filter (hasSuffix ".nix");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue