Skip to content

Commit 526751a

Browse files
committed
chore: implement fix on minimal example
with debug tracing, we can see the change in behaviour before: (wrong) ``` trace: candidate directory: /nix/store/...-source/example/foo1 trace: recurse on prefix: /nix/store/...-source/example/foo10 ``` after: (good) ``` trace: candidate directory: /nix/store/...-source/example/foo1 ``` Recursion into the folder does not happen anymore
1 parent f4835d1 commit 526751a

File tree

4 files changed

+8
-223
lines changed

4 files changed

+8
-223
lines changed

example/flake.lock

+1-200
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/flake.nix

+7-23
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,11 @@
55
# inputs.incl.url = "github:divnix/incl";
66
inputs.incl.url = "path:../.";
77

8-
inputs.hive.url = "github:divnix/hive";
9-
10-
outputs = {
11-
hive,
12-
incl,
13-
self,
14-
...
15-
} @ inputs:
16-
hive.growOn {
17-
inherit inputs;
18-
19-
cellsFrom = incl ./combs ["comb10"];
20-
cellBlocks = with hive.blockTypes; [
21-
diskoConfigurations
22-
];
23-
}
24-
{diskoConfigurations = hive.collect self "diskoConfigurations";}
25-
{
26-
filteredSource = (incl // {debug = true;}) ./. [
27-
./README.md
28-
./folder/other # and all below
29-
];
30-
};
8+
outputs = {incl, self}: {
9+
filteredSource = (incl // {debug = true;}) ./. [
10+
./README.md
11+
./folder/other # and all below
12+
"foo10" # but not foo1
13+
];
14+
};
3115
}
File renamed without changes.

0 commit comments

Comments
 (0)