forked from cardano-foundation/cardano-rosetta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.nix
29 lines (26 loc) · 763 Bytes
/
release.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
############################################################################
#
# Hydra release jobset.
#
# The purpose of this file is to select jobs defined in default.nix and map
# them to all supported build platforms.
#
############################################################################
{
cardano-rosetta ? { rev = null; }
}:
let
sources = import ./nix/sources.nix;
pkgs = import ./nix/pkgs.nix {};
in
pkgs.lib.fix (self: {
inherit ( import ./. {} ) cardano-rosetta-server;
build-version = pkgs.writeText "version.json" (builtins.toJSON { inherit (cardano-rosetta) rev; });
required = pkgs.releaseTools.aggregate {
name = "required";
constituents = with self; [
build-version
cardano-rosetta-server
];
};
})