Skip to content

fix: resolve host-aspects for homeManager class only - #467

Merged
vic merged 1 commit into
mainfrom
fix/host-aspects-dedup
Apr 17, 2026
Merged

vic merged 1 commit into
mainfrom
fix/host-aspects-dedup

Conversation

@sini

@sini sini commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • host-aspects battery was including the raw host.aspect tree via fixedTo, which caused host nixos modules to be collected again when the user context contributed to the host's resolution
  • Now resolves host.aspect specifically for class "homeManager" and emits only a homeManager module, preventing nixos/darwin duplication

Test plan

  • All existing host-aspects tests pass (6/6)
  • New test-no-nixos-duplication: verifies host nixos tags appear exactly once, not duplicated
  • Full CI passes (499/499)

host-aspects battery was including the raw host.aspect tree via fixedTo,
which caused host nixos modules to be collected again when the user
context contributed to the host's resolution.

Resolve host.aspect specifically for class "homeManager" and emit only a
homeManager module, preventing nixos/darwin duplication.
@vic
vic merged commit f002e70 into main Apr 17, 2026
13 checks passed
@vic
vic deleted the fix/host-aspects-dedup branch April 17, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants