mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-17 03:44:34 +03:00
578adc9363
Rather than conditional reconstructing the "urbit/bin/urbit-debug -g" string everytime using the debug conditional, this information has been added to the derivation's .meta attribute.
62 lines
1.0 KiB
Nix
62 lines
1.0 KiB
Nix
{ pkgs ? import ../nixpkgs.nix, debug ? false }:
|
|
|
|
let
|
|
|
|
tlon = import ../pkgs { inherit pkgs; };
|
|
arvo = tlon.arvo;
|
|
herb = tlon.herb;
|
|
urbit = if debug then tlon.urbit-debug else tlon.urbit;
|
|
|
|
bootbrass = ../../bin/brass.pill;
|
|
bootsolid = ../../bin/solid.pill;
|
|
|
|
rawzod = import ./fakeship {
|
|
inherit pkgs herb urbit;
|
|
pill = bootsolid;
|
|
ship = "zod";
|
|
arvo = null;
|
|
};
|
|
|
|
zod = import ./fakeship {
|
|
inherit pkgs herb urbit arvo;
|
|
pill = bootsolid;
|
|
ship = "zod";
|
|
};
|
|
|
|
bus = import ./fakeship {
|
|
inherit pkgs herb urbit arvo;
|
|
pill = bootsolid;
|
|
ship = "bus";
|
|
};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
test = import ./test {
|
|
inherit pkgs herb urbit;
|
|
ship = bus;
|
|
};
|
|
|
|
solid = import ./solid {
|
|
inherit pkgs herb urbit arvo;
|
|
pier = rawzod;
|
|
};
|
|
|
|
brass = import ./brass {
|
|
inherit pkgs herb urbit arvo;
|
|
pier = zod;
|
|
};
|
|
|
|
ivory = import ./ivory {
|
|
inherit pkgs herb urbit arvo;
|
|
pier = zod;
|
|
};
|
|
|
|
image = import ./image {
|
|
inherit pkgs urbit;
|
|
pill = bootsolid;
|
|
};
|
|
|
|
}
|