Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
720 B
Nix
37 lines
720 B
Nix
{
|
|
lib,
|
|
tailscale,
|
|
buildGoModule,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "tailscale-gitops-pusher";
|
|
inherit (tailscale) version;
|
|
|
|
# It's hosted in the `tailscale` monorepo.
|
|
inherit (tailscale) src vendorHash;
|
|
|
|
env = {
|
|
inherit (tailscale) CGO_ENABLED;
|
|
};
|
|
|
|
subPackages = [
|
|
"cmd/gitops-pusher"
|
|
];
|
|
|
|
ldflags = [
|
|
"-w"
|
|
"-s"
|
|
"-X tailscale.com/version.longStamp=${tailscale.version}"
|
|
"-X tailscale.com/version.shortStamp=${tailscale.version}"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://tailscale.com";
|
|
description = "Allows users to use a GitOps flow for managing Tailscale ACLs";
|
|
license = lib.licenses.bsd3;
|
|
mainProgram = "gitops-pusher";
|
|
teams = [ lib.teams.cyberus ];
|
|
};
|
|
}
|