mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 02:22:12 +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;
|
|
}
|