forked from input-output-hk/marlowe-cardano
-
Notifications
You must be signed in to change notification settings - Fork 0
/
packages.nix
44 lines (35 loc) · 1.2 KB
/
packages.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
{ system
, packagesBySystem
, inputs
, networkNixName ? "preprod"
}:
let
packages = packagesBySystem.${system};
inherit (packages) pkgs marlowe;
inherit (marlowe) haskell;
in
rec {
inherit pkgs marlowe;
inherit (marlowe) cardano-node cardano-cli;
inherit (haskell.packages.marlowe-cli.components.exes) marlowe-cli;
inherit (haskell.packages.marlowe-chain-sync.components.exes) chainseekd marlowe-chain-indexer;
inherit (haskell.packages.marlowe-runtime.components.exes) marlowe-history marlowe-discovery marlowe-tx;
marlowe-rt = haskell.packages.marlowe-runtime.components.exes.marlowe;
network = pkgs.networks.${networkNixName};
compose-spec = pkgs.callPackage ./nix/dev/compose.nix { };
dev-scripts = import ./nix/dev/scripts.nix {
inherit pkgs packagesBySystem marlowe network cardano-cli cardano-node;
};
tests = import ./nix/tests/default.nix {
inherit pkgs docs;
inherit (marlowe) fixStylishHaskell fix-prettier;
src = ./.;
};
docs = import ./nix/docs.nix { inherit pkgs marlowe; };
# Test data needed by marlowe-actus
inherit (inputs) actus-tests;
# Packages needed for the bitte deployment
entrypoints = import ./bitte {
inherit cardano-node pkgs;
};
}