Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 0 additions & 186 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 0 additions & 16 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);

inputs = {
checkmate = {
inputs = {
den.follows = "den";
flake-aspects.follows = "flake-aspects";
flake-file.follows = "flake-file";
flake-parts.follows = "flake-parts";
import-tree.follows = "import-tree";
nix-unit.follows = "nix-unit";
nixpkgs.follows = "nixpkgs";
nixpkgs-lib.follows = "nixpkgs";
systems.follows = "systems";
target.follows = "target";
treefmt-nix.follows = "treefmt-nix";
};
url = "github:vic/checkmate";
};
den.url = "github:vic/den";
flake-aspects.url = "github:vic/flake-aspects";
flake-file.url = "github:vic/flake-file";
Expand Down
19 changes: 0 additions & 19 deletions modules/checkmate/checkmate.nix

This file was deleted.

19 changes: 18 additions & 1 deletion modules/flakeModule.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,27 @@
flake.flakeModule =
{ inputs, lib, ... }:
{

imports = [
(inputs.flake-file.flakeModules.dendritic or { })
(inputs.import-tree ./checkmate)
];
flake-file.inputs.checkmate.url = lib.mkDefault "github:vic/checkmate";

flake-file.inputs.checkmate = {
url = lib.mkDefault "github:vic/checkmate";
inputs = {
den.follows = "den";
flake-aspects.follows = "flake-aspects";
flake-file.follows = "flake-file";
flake-parts.follows = "flake-parts";
import-tree.follows = "import-tree";
nix-unit.follows = "nix-unit";
nixpkgs.follows = "nixpkgs";
nixpkgs-lib.follows = "nixpkgs";
systems.follows = "systems";
target.follows = "target";
Copy link

Copilot AI Nov 21, 2025

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.

Suggested change
target.follows = "target";

Copilot uses AI. Check for mistakes.
treefmt-nix.follows = "treefmt-nix";
};
};
};
}
Loading