-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathflake.nix
45 lines (41 loc) · 1.44 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
{
description = "Blocksense Network Monorepo";
nixConfig = {
extra-substituters = [
"https://blocksense.cachix.org"
"https://mcl-blockchain-packages.cachix.org"
"https://mcl-public-cache.cachix.org"
];
extra-trusted-public-keys = [
"blocksense.cachix.org-1:BGg+LtKwTRIBw3BxCWEV//IO7v6+5CiJVSGzBOQUY/4="
"mcl-blockchain-packages.cachix.org-1:qoEiUyBgNXmgJTThjbjO//XA9/6tCmx/OohHHt9hWVY="
"mcl-public-cache.cachix.org-1:OcUzMeoSAwNEd3YCaEbNjLV5/Gd+U5VFxdN2WGHfpCI="
];
};
inputs = {
mcl-blockchain.url = "github:metacraft-labs/nix-blockchain-development";
nixpkgs.follows = "mcl-blockchain/nixpkgs";
nixpkgs-unstable.follows = "mcl-blockchain/nixpkgs-unstable";
mcl-nixos-modules.follows = "mcl-blockchain/nixos-modules";
ethereum-nix.follows = "mcl-blockchain/nixos-modules/ethereum-nix";
flake-parts.follows = "mcl-blockchain/flake-parts";
fenix.follows = "mcl-blockchain/fenix";
devenv.follows = "mcl-blockchain/devenv";
nix2container.follows = "mcl-blockchain/nix2container";
mk-shell-bin.url = "github:rrbutani/nix-mk-shell-bin";
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
# Third-party flake-parts modules
inputs.devenv.flakeModule
# Local flake-parts modules
./nix
];
systems = [
"x86_64-linux"
"aarch64-darwin"
];
};
}