-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathflake.nix
69 lines (55 loc) · 2.03 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
67
68
69
{
description = "Cardano Open Oracle Protocol";
inputs = {
# LambdaBuffers as source of truth for many inputs
lbf.url = "github:mlabs-haskell/lambda-buffers?ref=szg251/bump-pla-rust";
# Flake monorepo toolkit
flake-lang.url = "github:mlabs-haskell/flake-lang.nix";
# Nix
nixpkgs.follows = "lbf/nixpkgs";
flake-parts.follows = "lbf/flake-parts";
## Code quality automation
pre-commit-hooks.follows = "lbf/pre-commit-hooks";
hci-effects.follows = "lbf/hci-effects";
# Cardano transaction library (transaction building)
ctl.follows = "lbf/ctl";
# Plutarch (Plutus validation scripts)
plutarch.follows = "lbf/plutarch";
# Light-weight wrapper around cardano-node
ogmios.url = "github:mlabs-haskell/ogmios-nix?ref=v6.6.2";
oura = {
flake = false;
url = "github:szg251/oura?ref=szg251/add-ref-script";
};
cardano-nix.url = "github:mlabs-haskell/cardano.nix";
cardano-devnet-flake.url = "github:szg251/cardano-devnet-flake";
cardano-node.url = "github:IntersectMBO/cardano-node?ref=9.1.0";
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
services-flake.url = "github:juspay/services-flake";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./pkgs.nix
./settings.nix
./pre-commit.nix
./hercules-ci.nix
inputs.process-compose-flake.flakeModule
inputs.cardano-devnet-flake.flakeModule
# Libraries
./tx-bakery/build.nix
./tx-bakery-ogmios/build.nix
./extras/diesel-derive-pg/build.nix
./extras/tx-bakery-testsuite/api/build.nix
./extras/tx-indexer-testsuite/build.nix
./tx-indexer/build.nix
./ledger-sim/build.nix
./dev-net/build.nix
# Extras
./extras/tx-bakery-testsuite/validation/build.nix
./extras/tx-bakery-testsuite/tests/build.nix
];
debug = true;
systems = [ "x86_64-linux" "x86_64-darwin" ];
};
}