-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
59 lines (48 loc) · 1.64 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
{
description = "Cardano Open Oracle Protocol";
inputs = {
# LambdaBuffers as source of truth for many inputs
lbf.url = "github:mlabs-haskell/lambda-buffers?ref=bladyjoker/class-performance";
# 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.0";
oura = {
flake = false;
url = "github:szg251/oura?ref=szg251/add-ref-script";
};
cardano-nix.url = "github:mlabs-haskell/cardano.nix?ref=szg251/conway";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./pkgs.nix
./settings.nix
./pre-commit.nix
./hercules-ci.nix
# Libraries
./tx-bakery/build.nix
./tx-bakery-ogmios/build.nix
./extras/diesel-derive-pg/build.nix
./extras/tx-bakery-testsuite/api/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" ];
};
}