Import all nix files in a directory tree. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/ dendrix.oeiuwq.com/Dendritic.html
dendritic inputs

updating checkmate

+213 -3
+1 -1
.github/workflows/test.yml
··· 8 8 runs-on: ubuntu-latest 9 9 steps: 10 10 - uses: cachix/install-nix-action@v30 11 - - run: nix flake check -L github:vic/checkmate --override-input target github:$GITHUB_REPOSITORY/$GITHUB_SHA 11 + - run: nix run path:checkmate
+205
checkmate/flake.lock
··· 1 + { 2 + "nodes": { 3 + "checkmate": { 4 + "inputs": { 5 + "flake-parts": "flake-parts", 6 + "nix-unit": "nix-unit", 7 + "nixpkgs": "nixpkgs", 8 + "systems": "systems", 9 + "target": [ 10 + "target" 11 + ], 12 + "treefmt-nix": "treefmt-nix_2" 13 + }, 14 + "locked": { 15 + "lastModified": 1743586080, 16 + "narHash": "sha256-Y0/at5c0na9vTqIqU9fF521MgS9+ny/YW9J3SKwU6e4=", 17 + "owner": "vic", 18 + "repo": "checkmate", 19 + "rev": "e24ab8394ddb0aa91005be9b9494e371ea56430a", 20 + "type": "github" 21 + }, 22 + "original": { 23 + "owner": "vic", 24 + "repo": "checkmate", 25 + "type": "github" 26 + } 27 + }, 28 + "flake-parts": { 29 + "inputs": { 30 + "nixpkgs-lib": "nixpkgs-lib" 31 + }, 32 + "locked": { 33 + "lastModified": 1743550720, 34 + "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=", 35 + "owner": "hercules-ci", 36 + "repo": "flake-parts", 37 + "rev": "c621e8422220273271f52058f618c94e405bb0f5", 38 + "type": "github" 39 + }, 40 + "original": { 41 + "owner": "hercules-ci", 42 + "repo": "flake-parts", 43 + "type": "github" 44 + } 45 + }, 46 + "nix-github-actions": { 47 + "inputs": { 48 + "nixpkgs": [ 49 + "checkmate", 50 + "nix-unit", 51 + "nixpkgs" 52 + ] 53 + }, 54 + "locked": { 55 + "lastModified": 1731952509, 56 + "narHash": "sha256-p4gB3Rhw8R6Ak4eMl8pqjCPOLCZRqaehZxdZ/mbFClM=", 57 + "owner": "nix-community", 58 + "repo": "nix-github-actions", 59 + "rev": "7b5f051df789b6b20d259924d349a9ba3319b226", 60 + "type": "github" 61 + }, 62 + "original": { 63 + "owner": "nix-community", 64 + "repo": "nix-github-actions", 65 + "type": "github" 66 + } 67 + }, 68 + "nix-unit": { 69 + "inputs": { 70 + "flake-parts": [ 71 + "checkmate", 72 + "flake-parts" 73 + ], 74 + "nix-github-actions": "nix-github-actions", 75 + "nixpkgs": [ 76 + "checkmate", 77 + "nixpkgs" 78 + ], 79 + "treefmt-nix": "treefmt-nix" 80 + }, 81 + "locked": { 82 + "lastModified": 1741624954, 83 + "narHash": "sha256-VjLS010BEfwuK343Dst08NnQNS8SRtVCDkz1zTsHuvI=", 84 + "owner": "nix-community", 85 + "repo": "nix-unit", 86 + "rev": "e9d81f6cffe67681e7c04a967d29f18c2c540af5", 87 + "type": "github" 88 + }, 89 + "original": { 90 + "owner": "nix-community", 91 + "repo": "nix-unit", 92 + "type": "github" 93 + } 94 + }, 95 + "nixpkgs": { 96 + "locked": { 97 + "lastModified": 1743538100, 98 + "narHash": "sha256-Bl/ynRPIb4CdtbEw3gfJYpKiHmRmrKltXc8zipqpO0o=", 99 + "owner": "nixos", 100 + "repo": "nixpkgs", 101 + "rev": "b9d43b3fe5152d1dc5783a2ba865b2a03388b741", 102 + "type": "github" 103 + }, 104 + "original": { 105 + "owner": "nixos", 106 + "ref": "nixpkgs-unstable", 107 + "repo": "nixpkgs", 108 + "type": "github" 109 + } 110 + }, 111 + "nixpkgs-lib": { 112 + "locked": { 113 + "lastModified": 1743296961, 114 + "narHash": "sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc=", 115 + "owner": "nix-community", 116 + "repo": "nixpkgs.lib", 117 + "rev": "e4822aea2a6d1cdd36653c134cacfd64c97ff4fa", 118 + "type": "github" 119 + }, 120 + "original": { 121 + "owner": "nix-community", 122 + "repo": "nixpkgs.lib", 123 + "type": "github" 124 + } 125 + }, 126 + "root": { 127 + "inputs": { 128 + "checkmate": "checkmate", 129 + "target": "target" 130 + } 131 + }, 132 + "systems": { 133 + "locked": { 134 + "lastModified": 1681028828, 135 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 136 + "owner": "nix-systems", 137 + "repo": "default", 138 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 139 + "type": "github" 140 + }, 141 + "original": { 142 + "owner": "nix-systems", 143 + "repo": "default", 144 + "type": "github" 145 + } 146 + }, 147 + "target": { 148 + "locked": { 149 + "lastModified": 0, 150 + "narHash": "sha256-cvAi9JAShMbeXKzzFZFB7YIy+J46OjpnEnVg9ys201M=", 151 + "path": "..", 152 + "type": "path" 153 + }, 154 + "original": { 155 + "path": "..", 156 + "type": "path" 157 + } 158 + }, 159 + "treefmt-nix": { 160 + "inputs": { 161 + "nixpkgs": [ 162 + "checkmate", 163 + "nix-unit", 164 + "nixpkgs" 165 + ] 166 + }, 167 + "locked": { 168 + "lastModified": 1733662930, 169 + "narHash": "sha256-9qOp6jNdezzLMxwwXaXZWPXosHbNqno+f7Ii/xftqZ8=", 170 + "owner": "numtide", 171 + "repo": "treefmt-nix", 172 + "rev": "357cda84af1d74626afb7fb3bc12d6957167cda9", 173 + "type": "github" 174 + }, 175 + "original": { 176 + "owner": "numtide", 177 + "repo": "treefmt-nix", 178 + "type": "github" 179 + } 180 + }, 181 + "treefmt-nix_2": { 182 + "inputs": { 183 + "nixpkgs": [ 184 + "checkmate", 185 + "nixpkgs" 186 + ] 187 + }, 188 + "locked": { 189 + "lastModified": 1743081648, 190 + "narHash": "sha256-WRAylyYptt6OX5eCEBWyTwOEqEtD6zt33rlUkr6u3cE=", 191 + "owner": "numtide", 192 + "repo": "treefmt-nix", 193 + "rev": "29a3d7b768c70addce17af0869f6e2bd8f5be4b7", 194 + "type": "github" 195 + }, 196 + "original": { 197 + "owner": "numtide", 198 + "repo": "treefmt-nix", 199 + "type": "github" 200 + } 201 + } 202 + }, 203 + "root": "root", 204 + "version": 7 205 + }
+6
checkmate/flake.nix
··· 1 + { 2 + inputs.target.url = "path:.."; 3 + inputs.checkmate.url = "github:vic/checkmate"; 4 + inputs.checkmate.inputs.target.follows = "target"; 5 + outputs = inputs: inputs.checkmate.lib.newFlake; 6 + }
checks/checkmate.nix checkmate.nix
checks/tree/a/a.txt tree/a/a.txt
checks/tree/a/a_b.nix tree/a/a_b.nix
checks/tree/a/b/_c/d/e.nix tree/a/b/_c/d/e.nix
checks/tree/a/b/_n.nix tree/a/b/_n.nix
checks/tree/a/b/b_a.nix tree/a/b/b_a.nix
checks/tree/a/b/m.nix tree/a/b/m.nix
checks/tree/hello/world tree/hello/world
checks/tree/x/y.nix tree/x/y.nix
-1
default.nix
··· 68 68 __functor = self: f: { 69 69 config = (f self); 70 70 __functor = functor; 71 - flakeModules.checkmate = ./checks/checkmate.nix; 72 71 73 72 withLib = lib: self (c: (f c) // { inherit lib; }); 74 73
+1 -1
flake.nix
··· 1 1 { 2 - outputs = _: import ./default.nix; 2 + outputs = _: import ./.; 3 3 }