Commit bf1bebe
committed
fix(nixConfig): deduplicate list values at type level instead of mkForce
Replace listOf with a custom deduplicatedListOf type that calls
lib.unique on the merged result, preventing duplicate entries from
nixConfig.settings propagation without resorting to mkForce (which
would prevent end-user overrides at the component level).
The deduplication runs during type merge, cleaning up duplicates
introduced when top-level nixConfig.settings are propagated to
subcomponents (node, pynixd controller, builder) via direct
assignment, where they merge with the submodule defaults at the
same priority.1 parent f8e466c commit bf1bebe
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
| |||
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
32 | | - | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
0 commit comments