forked from cardano-foundation/cardano-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
88 lines (86 loc) · 2.3 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
inputs = {
nixpkgs.follows = "tullia/nixpkgs";
std.follows = "tullia/std";
tullia.url = github:input-output-hk/tullia;
flake-compat = {
url = "github:input-output-hk/flake-compat/fixes";
flake = false;
};
bitte-cells = {
url = github:input-output-hk/bitte-cells;
};
haskellNix = {
url = github:input-output-hk/haskell.nix/fix-input-map-support-with-no-rev;
};
graphql-engine = {
url = github:hasura/graphql-engine/v2.16.1;
};
# graphql-engine dependencies:
kriti-lang = {
url = github:hasura/kriti-lang/c8fd863d359876af3a0fce47db8a5393dc556667;
flake = false;
};
ci-info-hs = {
url = github:hasura/ci-info-hs/be578a01979fc95137cc2c84827f9fafb99df60f;
flake = false;
};
pool = {
url = github:hasura/pool/c5faf9a358e83eaf15fef0c1e890f463d0022565;
flake = false;
};
odbc = {
url = github:fpco/odbc/38e04349fe28a91f189e44bd7783220956d18aae;
flake = false;
};
ekg-core = {
url = github:hasura/ekg-core/b0cdc337ca2a52e392d427916ba3e28246b396c0;
flake = false;
};
ekg-prometheus = {
url = github:hasura/ekg-prometheus/v0.2.0.0;
flake = false;
};
ekg-json = {
url = github:hasura/ekg-json/1fab6837e1dd98317a3c2f5bf9deedf4dfcac51b;
flake = false;
};
text = {
url = github:hasura/text/ba0fd2bf256c996a6c85dbdc8590a6fcde41b8f8;
flake = false;
};
};
outputs = {
self,
std,
tullia,
...
} @ inputs:
std.growOn {
inherit inputs;
systems = ["x86_64-linux"];
cellsFrom = nix/cells;
cellBlocks = [
(std.functions "library")
(std.installables "packages")
(std.runnables "entrypoints")
(std.functions "hydraJobs")
(tullia.tasks "pipelines")
(std.functions "actions")
];
}
(
tullia.fromStd {
actions = std.harvest self ["cloud" "actions"];
tasks = std.harvest self ["automation" "pipelines"];
}
)
{
hydraJobs = std.harvest self ["automation" "hydraJobs"];
};
nixConfig = {
extra-substituters = ["https://cache.iog.io"];
extra-trusted-public-keys = ["hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="];
allow-import-from-derivation = true;
};
}