urbit/nix/ops/test/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

20 lines
349 B
Nix

{ pkgs, tlon, deps, ship, arvo, debug }:
let
urbitExe = if debug
then "${tlon.urbit-debug}/bin/urbit-debug -g"
else "${tlon.urbit}/bin/urbit";
in
pkgs.stdenv.mkDerivation rec {
name = "test";
builder = ./builder.sh;
buildInputs = [ tlon.herb ];
URBIT = urbitExe;
SHIP = ship;
ARVO = arvo;
}