forked from zw3rk/hydra-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
40 lines (36 loc) · 1.19 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
{
description = "hydra-tools: components/replacements to make hydra suck less.";
inputs = {
flake-parts.url = github:hercules-ci/flake-parts;
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
haskellNix.url = github:input-output-hk/haskell.nix;
treefmt-nix = {
url = github:numtide/treefmt-nix;
inputs.nixpkgs.follows = "nixpkgs";
};
servant-github-webhook.url = github:input-output-hk/servant-github-webhook;
servant-github-webhook.flake = false;
github-webhooks.url = github:cuedo/github-webhooks;
github-webhooks.flake = false;
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
imports = [
flake/formatter.nix
flake/packages.nix
flake/nixosModules.nix
];
systems = ["x86_64-linux" "x86_64-darwin"];
};
nixConfig = {
extra-substituters = [
"https://cache.iog.io"
"https://cache.zw3rk.com" # provides aarch64-linux and aarch64-darwin
];
extra-trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
"loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk="
];
allow-import-from-derivation = "true";
};
}