mirror of
https://github.com/numtide/nix-filter.git
synced 2024-09-11 14:16:38 +03:00
24 lines
313 B
Nix
24 lines
313 B
Nix
let
|
|
nix-filter = import ../.;
|
|
in
|
|
{
|
|
all = nix-filter {
|
|
path = ./demo1;
|
|
};
|
|
|
|
without-readme = nix-filter {
|
|
path = ./demo1;
|
|
deny = [
|
|
"README.md"
|
|
];
|
|
};
|
|
|
|
with-matchExt = nix-filter {
|
|
path = ./demo1;
|
|
allow = [
|
|
"package.json"
|
|
(nix-filter.matchExt "js")
|
|
];
|
|
};
|
|
}
|