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