-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
65 lines (54 loc) · 1.96 KB
/
flake.nix
File metadata and controls
65 lines (54 loc) · 1.96 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
58
59
60
61
62
63
64
65
{
description = "LambdaBuffers Cardano Demo";
inputs = {
# NOTE(bladyjoker): Trying to reuse as many inputs from lbf and flake-lang as possible to reduce the flake.lock size which impacts performance significantly.
nixpkgs.follows = "lbf/nixpkgs";
# LambdaBuffers for sharing types
lbf.url = "github:mlabs-haskell/lambda-buffers";
# flake-lang.nix for monorepo setup
flake-lang.follows = "lbf/flake-lang";
# flake-parts for Flake modules
flake-parts.follows = "lbf/flake-parts";
# Hercules CI effects
hci-effects.follows = "lbf/hci-effects";
# Code quality automation
pre-commit-hooks.follows = "lbf/pre-commit-hooks";
# Cardano transaction library
ctl.follows = "lbf/ctl";
haskell-nix.follows = "lbf/flake-lang/haskell-nix";
iohk-nix.follows = "lbf/flake-lang/iohk-nix";
# Plutarch eDSL
plutarch.follows = "lbf/plutarch";
ogmios.url = "github:mlabs-haskell/ogmios-nix/v6.11.2";
cardano-devnet-flake.url = "github:mlabs-haskell/cardano-devnet-flake";
cardano-node.follows = "cardano-devnet-flake/cardano-node";
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
};
outputs =
inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
inputs.process-compose-flake.flakeModule
inputs.cardano-devnet-flake.flakeModule
./pkgs.nix
./settings.nix
./pre-commit.nix
./hercules-ci.nix
./api/build.nix
./validation/demo-plutarch/build.nix
./validation/demo-plutustx/build.nix
./transactions/demo-ctl/build.nix
./transactions/demo-rust/build.nix
./transactions/demo-haskell/build.nix
./transactions/demo-typescript/build.nix
./transactions/demo-tx-village/build.nix
];
debug = true;
systems = [
"x86_64-linux"
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
];
};
}