A flake checker (treefmt & nix-unit) for testing other flakes with zero dependencies.

dont use path

+17 -13
+15 -9
templates/dendritic/checkmate/flake.lock
··· 4 "flake": false, 5 "locked": { 6 "dir": "modules/checkmate", 7 - "lastModified": 1763687073, 8 - "narHash": "sha256-SaP08ABfJY3wIUdJw5/XkAbbz3Jw+Bmj8FtJJqktI2k=", 9 "owner": "vic", 10 "repo": "checkmate", 11 - "rev": "3cb30f412d96c7fec12dcd1c965f532d844743bf", 12 "type": "github" 13 }, 14 "original": { ··· 147 }, 148 "target": { 149 "locked": { 150 - "path": "..", 151 - "type": "path" 152 }, 153 "original": { 154 - "path": "..", 155 - "type": "path" 156 - }, 157 - "parent": [] 158 } 159 }, 160 "root": "root",
··· 4 "flake": false, 5 "locked": { 6 "dir": "modules/checkmate", 7 + "lastModified": 1763688069, 8 + "narHash": "sha256-1mK38cB+dTFh6gieuqWswqbWAbV/cGrqiR+r6ONSL5s=", 9 "owner": "vic", 10 "repo": "checkmate", 11 + "rev": "52665a9ad341f0b11620aabbd8ede55af6638c06", 12 "type": "github" 13 }, 14 "original": { ··· 147 }, 148 "target": { 149 "locked": { 150 + "dir": "templates/dendritic", 151 + "lastModified": 1763688069, 152 + "narHash": "sha256-1mK38cB+dTFh6gieuqWswqbWAbV/cGrqiR+r6ONSL5s=", 153 + "owner": "vic", 154 + "repo": "checkmate", 155 + "rev": "52665a9ad341f0b11620aabbd8ede55af6638c06", 156 + "type": "github" 157 }, 158 "original": { 159 + "dir": "templates/dendritic", 160 + "owner": "vic", 161 + "repo": "checkmate", 162 + "type": "github" 163 + } 164 } 165 }, 166 "root": "root",
+1 -1
templates/dendritic/checkmate/flake.nix
··· 20 nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 21 nixpkgs-lib.follows = "nixpkgs"; 22 systems.url = "github:nix-systems/default"; 23 - target.url = "path:.."; 24 }; 25 26 }
··· 20 nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 21 nixpkgs-lib.follows = "nixpkgs"; 22 systems.url = "github:nix-systems/default"; 23 + target.url = "github:vic/checkmate?dir=templates/dendritic"; 24 }; 25 26 }
+1 -3
templates/dendritic/checkmate/modules/target.nix
··· 1 - { ... }: 2 { 3 flake-file.inputs = { 4 - target.url = "path:.."; 5 checkmate-modules.url = "github:vic/checkmate?dir=modules/checkmate"; 6 checkmate-modules.flake = false; 7 }; 8 - # imports = [ (inputs.import-tree inputs.checkmate-modules) ]; 9 }
··· 1 { 2 flake-file.inputs = { 3 + target.url = "github:vic/checkmate?dir=templates/dendritic"; 4 checkmate-modules.url = "github:vic/checkmate?dir=modules/checkmate"; 5 checkmate-modules.flake = false; 6 }; 7 }