forked from ComposableFi/composable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
147 lines (141 loc) · 4.86 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
{
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/bacdaf54ffe3a2c1734fd973a95e6b39b1560c2e";
};
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";
inputs.nixpkgs.follows = "nixpkgs";
};
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
};
arion-src = {
url = "github:hercules-ci/arion";
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";
};
darwin = {
url = "github:lnl7/nix-darwin/master";
inputs.nixpkgs.follows = "nixpkgs";
};
cosmos = {
url =
"github:dzmitry-lahoda-forks/cosmos.nix/3039c8f154b1f9f1fb217c2bc0048eaff0da2472";
inputs.nixpkgs.follows = "nixpkgs";
};
bech32cli = {
url =
"github:dzmitry-lahoda-forks/bech32cli/7e5bd85b131834fbde8e079bbab4d1cbc98de4e9";
inputs.nixpkgs.follows = "nixpkgs";
};
# https://github.com/ComposableFi/centauri/pull/397#issuecomment-1704320448
centauri-old-src = {
flake = false;
url =
"github:ComposableFi/centauri/629eb0da075350ae514bacfde70e15a1c93debd7";
};
centauri-src = {
flake = false;
url =
"github:ComposableFi/centauri/f41efb289a4815dc0ebc9727769c382b0a9c550d";
};
};
nixConfig = {
extra-substituters = [
"https://cache.nixos.org"
"https://composable.cachix.org"
"https://cosmos.cachix.org"
"https://devenv.cachix.org"
"https://nix-community.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="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"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
./code/integration-tests/local-integration-tests/flake-module.nix
./code/integration-tests/runtime-tests/runtime-tests.nix
./code/runtimes.nix
./code/services/cmc-api/cmc-api.nix
./code/utils/price-feed/price-feed.nix
./code/xcvm/flake-module.nix
./docs/docs.nix
./flake/all.nix
./flake/cargo-tools.nix
./flake/check.nix
./flake/darwin-configurations.nix
./flake/bash.nix
./flake/dev-shells.nix
./flake/devnet.nix
./flake/docker.nix
./flake/fmt.nix
./flake/hermes.nix
./flake/home-configurations.nix
./flake/ibc.nix
./flake/live.nix
./flake/osmosis.nix
./flake/cosmos.nix
./flake/overlays.nix
./flake/process-compose.nix
./flake/release.nix
./flake/subxt.nix
./flake/zombienet.nix
./inputs/AcalaNetwork/acala.nix
./inputs/bifrost-finance/bifrost/flake-module.nix
./inputs/chevdor/subwasm.nix
./inputs/ComposableFi/centauri/flake-module.nix
./inputs/CosmosContracts/juno.nix
./inputs/CosmWasm/flake-module.nix
./inputs/notional-labs/composable-centauri/flake-module.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
./tools/devnet-tools.nix
./tools/pkgs.nix
./tools/rust.nix
];
systems =
[ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
};
}