47e45e0071
As part of this all "wait" constraints have been migrated to pure-go implementations, taking advantage of pmux's `StartAfterFunc` argument. nebula-entrypoint was the final main process besides the entrypoint itself, allowing us to get rid of cryptic-net-main.
19 lines
342 B
Nix
19 lines
342 B
Nix
{
|
|
buildGoModule,
|
|
}: let
|
|
|
|
build = subPackage: buildGoModule {
|
|
|
|
pname = "cryptic-net-" + (builtins.baseNameOf subPackage);
|
|
version = "unstable";
|
|
src = ./src;
|
|
vendorSha256 = "sha256-URmrK9Sd/5yhXrWxXZq05TS7aY7IWptQFMKfXKJY7Hc=";
|
|
subPackages = [
|
|
subPackage
|
|
];
|
|
};
|
|
|
|
in {
|
|
entrypoint = build "cmd/entrypoint";
|
|
}
|