-
Notifications
You must be signed in to change notification settings - Fork 7
/
flake.nix
66 lines (53 loc) · 1.47 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
55
56
57
58
59
60
61
62
63
64
65
66
{
description = "Marlowe Playground";
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";
};
n2c.url = "github:nlewo/nix2container";
npmlock2nix = {
url = "github:nix-community/npmlock2nix";
flake = false;
};
std.url = "github:divnix/std";
std.inputs.n2c.follows = "n2c";
};
outputs = inputs: inputs.iogx.lib.mkFlake {
inherit inputs;
repoRoot = ./.;
systems = [ "x86_64-linux" "x86_64-darwin" ];
outputs = import ./nix/outputs.nix;
nixpkgsArgs.config.permittedInsecurePackages = [
"nodejs-14.21.3"
"openssl-1.1.1w"
"python-2.7.18.7"
];
flake.nixosModules.default = import ./nix/nixos.nix inputs.self;
};
nixConfig = {
extra-substituters = [
"https://cache.iog.io"
];
extra-trusted-public-keys = [
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
];
allow-import-from-derivation = true;
};
}