-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
41 lines (32 loc) · 1014 Bytes
/
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
{
description = "proto.nix";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
haskell-nix.url = "github:input-output-hk/haskell.nix";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
protobuf = { url = "github:protocolbuffers/protobuf"; flake = false; };
# TODO(bladyjoker): Merge with upstream and use that.
http2-grpc-native = {
url = "github:bladyjoker/http2-grpc-haskell";
flake = false;
};
flake-parts.url = "github:hercules-ci/flake-parts";
hci-effects.url = "github:hercules-ci/hercules-ci-effects";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./pkgs.nix
./settings.nix
./pre-commit.nix
./hercules-ci.nix
./src/build.nix
./src/dev-shell.nix
./google-pb/build.nix
./tests/api/build.nix
./docs/build.nix
];
debug = true;
systems = [ "x86_64-linux" "x86_64-darwin" ];
};
}