mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 02:11:38 +03:00
1c4732ca22
* Run tests with `urbit-debug` and enable GC while running tests. * Build `urbit-debug` with `-O0`.
20 lines
349 B
Nix
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;
|
|
}
|