-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathdogfood.nix
More file actions
48 lines (42 loc) · 1.13 KB
/
dogfood.nix
File metadata and controls
48 lines (42 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
growOn,
inputs,
blockTypes,
pick,
harvest,
}:
growOn {
inherit inputs;
cellsFrom = ./cells;
cellBlocks = [
## For downstream use
# std
(blockTypes.runnables "cli" {ci.build = true;})
(blockTypes.functions "devshellProfiles")
(blockTypes.functions "errors")
(blockTypes.nixago "nixago")
(blockTypes.installables "packages" {ci.build = true;})
# lib
(blockTypes.functions "dev")
(blockTypes.functions "ops")
(blockTypes.nixago "cfg")
# presets
(blockTypes.data "templates")
(blockTypes.nixago "nixago")
## For local use in the Standard repository
# _automation
(blockTypes.devshells "devshells" {ci.build = true;})
(blockTypes.nixago "configs")
(blockTypes.containers "containers")
# (blockTypes.tasks "tasks") # TODO: implement properly
# _tests
(blockTypes.data "data")
(blockTypes.files "files")
];
}
# Soil ("compatibile with the entire world")
{
devShells = harvest inputs.self ["_automation" "devshells"];
packages = harvest inputs.self [["std" "cli"] ["std" "packages"]];
templates = pick inputs.self ["presets" "templates"];
}