1
Fork 0
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:
RGBCube 2025-01-24 23:50:51 +03:00
parent d5e7291b82
commit 64e2dc5f71
3 changed files with 25 additions and 22 deletions

7
lib/filesystem.nix Normal file
View file

@ -0,0 +1,7 @@
_: self: super: let
inherit (self) filter hasSuffix;
inherit (self.filesystem) listFilesRecursive;
in {
collect = path: listFilesRecursive path
|> filter (hasSuffix ".nix");
}