Skip to content

test(auto-follow): siblings keep automatic follows next to an explicit one; document explicit follows - #153

Merged
vic merged 1 commit into
mainfrom
fix/configured-follows-win
Oct 25, 2026
Merged

vic merged 1 commit into
mainfrom
fix/configured-follows-win

Conversation

@sini

@sini sini commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #152, which fixed #151. Adds the two pieces #152 doesn't cover. No library change.

  • Regression test test unconfigured siblings keep automatic follows: one explicitly configured nested follows (foo.inputs.bar.follows = "quux") must not drop a sibling's automatic follows (foo.inputs.qux.follows = "baz" from the existing flake.nix).
  • Docs: a short "Choosing a follow yourself" section in the auto-follow guide. It says that a configured follows wins, is written as configured and is excluded from flake-edit follow, and that the other nested inputs keep their automatic follows.

Validation

  • nix-unit --flake ./dev#tests (with --override-input flake-file path:..), on main 11f9c86 plus this commit: 450/450.
  • nix run ./dev#fmt -- --ci: 0 files changed.

…ic follows; document explicit follows

Adds a regression test for #151's fix: one explicitly configured
nested follows must not drop the automatic follows of its siblings.
Adds a short "Choosing a follow yourself" section to the auto-follow
guide.
@sini
sini force-pushed the fix/configured-follows-win branch from 39f3e8b to 4b8848f Compare October 25, 2026 04:45
@vic vic closed this Oct 25, 2026
@sini sini reopened this Oct 25, 2026
@sini sini changed the title fix(auto-follow): keep a configured follows instead of replacing it (#151) test(auto-follow): siblings keep automatic follows next to an explicit one; document explicit follows Oct 25, 2026
@vic
vic merged commit 7b08dbc into main Oct 25, 2026
24 checks passed
@vic
vic deleted the fix/configured-follows-win branch October 25, 2026 05:20
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.

Configured follow isn't respected

2 participants