shrub/nix/ops/fakeship/default.nix

19 lines
371 B
Nix
Raw Normal View History

{ pkgs, tlon, deps, brass, ship, debug }:
2019-03-05 03:43:53 +03:00
let
urbitExe = if debug
then "${tlon.urbit-debug}/bin/urbit-debug -g"
else "${tlon.urbit}/bin/urbit";
in
pkgs.stdenv.mkDerivation {
2019-03-05 03:43:53 +03:00
name = "fake" + ship;
builder = ./builder.sh;
buildInputs = [ tlon.herb ];
URBIT = urbitExe;
2019-03-05 03:43:53 +03:00
PILL = brass;
SHIP = ship;
}