-
-
Notifications
You must be signed in to change notification settings - Fork 0
remove checkmate self reference #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes the self-referential checkmate input dependency from the flake configuration, eliminating a recursive dependency pattern where the checkmate project was referencing itself as an input.
Key Changes:
- Removed the checkmate input declaration from flake.nix
- Deleted the modules/checkmate/checkmate.nix configuration file
- Cleaned up the nested checkmate entries (checkmate, checkmate_2, checkmate_3) from flake.lock
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| modules/checkmate/checkmate.nix | Entire file deleted - removed the checkmate input configuration with its dependency follows |
| flake.nix | Removed the checkmate input and its extensive input follows declarations |
| flake.lock | Removed three nested checkmate lock entries (checkmate, checkmate_2, checkmate_3) and the checkmate reference from root inputs |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| nixpkgs.follows = "nixpkgs"; | ||
| nixpkgs-lib.follows = "nixpkgs"; | ||
| systems.follows = "systems"; | ||
| target.follows = "target"; |
Copilot
AI
Nov 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configuration target.follows = "target" creates a circular reference. The checkmate input is being told to follow the parent's target input, but target itself points to a checkmate repository (github:vic/checkmate?dir=templates/success as defined in modules/checkmate/target.nix). This circular dependency appears to be the root cause of the nested checkmate references (checkmate_2, checkmate_3, checkmate_4) visible in the template's flake.lock.
Consider removing the target.follows = "target" line to break this circular dependency, or restructure the relationship between checkmate and target.
| target.follows = "target"; |
No description provided.