-
Notifications
You must be signed in to change notification settings - Fork 7
/
flake.nix
54 lines (43 loc) · 1.21 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
{
description = "QuickCheck Dynamic";
inputs = {
iogx = {
url = "github:input-output-hk/iogx";
inputs.hackage.follows = "hackage";
inputs.CHaP.follows = "CHaP";
inputs.haskell-nix.follows = "haskell-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.follows = "haskell-nix/nixpkgs";
hackage = {
url = "github:input-output-hk/hackage.nix";
flake = false;
};
CHaP = {
url = "github:input-output-hk/cardano-haskell-packages?ref=repo";
flake = false;
};
haskell-nix = {
url = "github:input-output-hk/haskell.nix";
inputs.hackage.follows = "hackage";
};
};
outputs = inputs: inputs.iogx.lib.mkFlake {
inherit inputs;
repoRoot = ./.;
systems = [ "x86_64-darwin" "x86_64-linux" "aarch64-darwin" ];
outputs = import ./nix/outputs.nix;
};
nixConfig = {
extra-substituters = [
"https://iohk.cachix.org"
"https://cache.iog.io"
];
extra-trusted-public-keys = [
"iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo="
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
accept-flake-config = true;
allow-import-from-derivation = true;
};
}