-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathflake.nix
More file actions
57 lines (53 loc) · 1.75 KB
/
flake.nix
File metadata and controls
57 lines (53 loc) · 1.75 KB
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
{
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";
# HACK: <https://github.com/cachix/devenv/issues/1764>
devenv-root = {
url = "file+file:///dev/null";
flake = false;
};
nix2container.follows = "mcl-blockchain/nix2container";
mk-shell-bin.url = "github:rrbutani/nix-mk-shell-bin";
blama = {
url = "github:blocksense-network/blama";
flake = false;
};
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } (
{ lib, ... }:
{
imports = [
# Third-party flake-parts modules
inputs.devenv.flakeModules.default
# Local flake-parts modules
(lib.path.append ./. "nix")
];
systems = [
"x86_64-linux"
"aarch64-darwin"
];
}
);
}