1
2
3
4
5
6
7
8
9
10
11
12
13
_:
let
inherit (builtins) match;
in
re: f:
{
matches = file: match re file != null;
loader = inputs: path:
f (match re (baseNameOf path)) inputs path;
}
fork of https://github.com/nix-community/haumea
1
2
3
4
5
6
7
8
9
10
11
12
13
_:
let
inherit (builtins) match;
in
re: f:
{
matches = file: match re file != null;
loader = inputs: path:
f (match re (baseNameOf path)) inputs path;
}