forked from juspay/services-flake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
44 lines (41 loc) · 1.19 KB
/
flake.nix
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
{
description = "declarative, composable, and reproducible services for Nix development environment";
outputs = _: {
processComposeModules.default = ./nix;
templates.default = {
description = "Example flake using process-compose-flake";
path = builtins.path { path = ./example/simple; filter = path: _: baseNameOf path == "flake.nix"; };
};
lib = import ./nix/lib.nix;
# Config for https://github.com/srid/nixci
# To run this, `nix run github:srid/nixci`
nixci.default = let overrideInputs = { "services-flake" = ./.; }; in {
simple-example = {
inherit overrideInputs;
dir = "./example/simple";
};
llm-example = {
inherit overrideInputs;
dir = "./example/llm";
};
share-services-example = {
overrideInputs = {
inherit (overrideInputs) services-flake;
northwind = ./example/share-services/northwind;
};
dir = "./example/share-services/pgweb";
};
test = {
inherit overrideInputs;
dir = "./test";
};
dev = {
inherit overrideInputs;
dir = "./dev";
};
doc = {
dir = "./doc";
};
};
};
}