forked from ComposableFi/composable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
166 lines (152 loc) · 5.38 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
description = "Composable Finance";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-latest.url =
"github:NixOS/nixpkgs/0135b7a556ee60144b143b071724fa44348a188e";
process-compose-flake = {
url = "github:Platonic-Systems/process-compose-flake";
};
sbt-derivation.url = "github:zaninime/sbt-derivation";
# fixes wird behaviour when flake depends on this flake
# it either fails to find overlay in sbt or fails to put nixpks into input
sbt-derivation.inputs.nixpkgs.follows = "nixpkgs";
sbt-derivation.inputs.flake-utils.follows = "flake-utils";
process-compose = {
url = "github:F1bonacc1/process-compose";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
flake-utils.url = "github:numtide/flake-utils";
npm-buildpackage.url = "github:serokell/nix-npm-buildpackage";
rust-overlay = { url = "github:oxalica/rust-overlay"; };
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
};
helix.url = "github:helix-editor/helix";
bundlers = {
url = "github:NixOS/bundlers";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-std.url = "github:chessai/nix-std";
devenv.url = "github:cachix/devenv";
zombienet = {
url =
"github:dzmitry-lahoda-forks/zombienet/a169bff1516c93114253ff6479956eeff66b0e2e";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
cosmos = {
url =
"github:dzmitry-lahoda-forks/cosmos.nix/1117a34d387aabb168a9c6909fec95f385745330";
inputs.sbt-derivation.follows = "sbt-derivation";
inputs.nixpkgs.follows = "nixpkgs";
inputs.rust-overlay.follows = "rust-overlay";
};
bech32cli = {
url = "github:strangelove-ventures/bech32cli";
inputs.nixpkgs.follows = "nixpkgs";
};
composable-ibc-relayer-src = {
flake = false;
url =
"github:ComposableFi/composable-ibc/698146a5a66ce9e5e7a21633ef60e39fa1c8840e";
};
composable-ibc-light-client-src = {
flake = false;
url =
"github:ComposableFi/composable-ibc/50eb36a8a1c4f67ae573ac447f6b1ba46f37791c";
};
composable-cosmos = {
url = "github:ComposableFi/composable-cosmos/release/v7.0.x";
};
# update this to update any CVM/MANTIS deps
cvm = { url = "github:ComposableFi/cvm"; };
networks = { url = "github:ComposableFi/networks"; };
eth-pos-devnet-src = {
flake = false;
url = "github:OffchainLabs/eth-pos-devnet";
};
neutron-src.url = "github:neutron-org/neutron/v2.0.0";
neutron-src.flake = false;
ethereum = { url = "github:nix-community/ethereum.nix"; };
polkadot = {
url =
"github:andresilva/polkadot.nix/30a616cb07b8f26b7bdb1b06d18440628bc6ecff";
inputs.nixpkgs.follows = "nixpkgs";
};
};
nixConfig = {
extra-substituters = [
"https://cache.nixos.org"
"https://composable.cachix.org"
"https://cosmos.cachix.org"
"https://devenv.cachix.org"
"https://nixpkgs-update.cachix.org"
];
extra-trusted-public-keys = [
"composable.cachix.org-1:J2TVJKH4U8xqYdN/0SpauoAxLuDYeheJtv22Vn3Hav8="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"cosmos.cachix.org-1:T5U9yg6u2kM48qAOXHO/ayhO8IWFnv0LOhNcq0yKuR8="
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
"nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8="
];
};
outputs = inputs@{ self, nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.process-compose-flake.flakeModule
./code/benchmarks.nix
./code/common-deps.nix
./code/composable-nodes.nix
./tests/flake-module.nix
./code/runtimes.nix
./code/services/cmc-api/cmc-api.nix
./code/utils/price-feed/price-feed.nix
./docs/flake-module.nix
./flake/ci.nix
./flake/bash.nix
./flake/cargo-tools.nix
./flake/check.nix
./flake/lightnet.nix
./flake/cosmos.nix
./flake/shells.nix
./flake/devnet-tools.nix
./flake/devnet.nix
./flake/ethereum.nix
./flake/fmt.nix
./flake/cosmos/hermes.nix
./flake/home-configurations.nix
./flake/ibc.nix
./flake/live.nix
./flake/cosmos/osmosis.nix
./flake/cosmos/cosmos-hub.nix
./flake/cosmos/neutron.nix
./flake/xapps.nix
./flake/overlays.nix
./flake/devnets/flake-module.nix
./flake/release.nix
./flake/mantis.nix
./flake/rust.nix
./flake/subxt.nix
./flake/zombienet.nix
./inputs/AcalaNetwork/acala.nix
./inputs/bifrost-finance/bifrost/flake-module.nix
./inputs/ComposableFi/composable-ibc/flake-module.nix
./flake/cosmos/composable-cosmos.nix
./inputs/paritytech/cumulus.nix
./inputs/paritytech/polkadot.nix
./inputs/paritytech/substrate.nix
./inputs/paritytech/subxt.nix
./inputs/paritytech/zombienet/flake-module.nix
./inputs/Wasmswap/wasmswap-contracts.nix
./inputs/wynddao/flake-module.nix
];
systems =
[ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
};
}