urbit/nix/ops/default.nix
benjamin-tlon 1c4732ca22
Run urbit tests on the debug build, with GC enabled. (#1252)
* Run tests with `urbit-debug` and enable GC while running tests.
* Build `urbit-debug` with `-O0`.
2019-04-25 16:45:39 -07:00

47 lines
824 B
Nix

{ pkgs ? import ../nixpkgs.nix, debug ? false }:
let
deps = import ../deps { inherit pkgs; };
tlon = import ../pkgs { inherit pkgs; };
arvo = tlon.arvo;
urbit = tlon.urbit;
in
rec {
bootzod = import ./fakeship {
inherit pkgs tlon deps debug;
brass = ../../bin/brass.pill;
ship = "zod";
};
bootbus = import ./fakeship {
inherit pkgs tlon deps debug;
brass = ../../bin/brass.pill;
ship = "bus";
};
test = import ./test {
inherit pkgs tlon deps arvo debug;
ship = bootzod;
};
solid = import ./solid {
inherit arvo pkgs tlon deps debug;
fakezod = bootzod;
};
brass = import ./brass {
inherit arvo pkgs tlon deps debug;
fakezod = bootzod;
};
fakezod = import ./fakeship {
inherit pkgs tlon deps brass debug;
ship = "zod";
};
}