-
Notifications
You must be signed in to change notification settings - Fork 10
/
flake.nix
65 lines (61 loc) · 1.72 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# Rust toolchains in nix
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
# Nix helpers
flake-parts.url = "github:hercules-ci/flake-parts";
flake-compat = {
url = "github:input-output-hk/flake-compat/fixes";
flake = false;
};
process-compose.url = "github:Platonic-Systems/process-compose-flake";
services-flake.url = "github:juspay/services-flake";
# Partner Chains deps
cardano-node = {
url = "github:IntersectMBO/cardano-node/10.1.2";
flake = false;
};
cardano-dbsync = {
url = "github:IntersectMBO/cardano-db-sync/13.5.0.2";
flake = false;
};
# ... kupo and ogmios are defined in dev/nix/packages
configurations = {
url = "github:input-output-hk/cardano-configurations";
flake = false;
};
};
outputs = inputs @ {
self,
nixpkgs,
flake-parts,
...
}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-darwin"];
imports = [
inputs.process-compose.flakeModule
./dev/nix/shell.nix
./dev/nix/packages
./dev/nix/processes.nix
];
};
nixConfig = {
allow-import-from-derivation = true;
accept-flake-config = true;
extra-substituters = [
"https://nix-community.cachix.org"
"https://cache.iog.io"
"https://cache.sc.iog.io"
];
extra-trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.sc.iog.io:b4YIcBabCEVKrLQgGW8Fylz4W8IvvfzRc+hy0idqrWU="
];
};
}