Unverified Commit 052411ad authored by Philip Taron's avatar Philip Taron
Browse files

tailscale-gitops-pusher: fix build after tailscale 1.88

Go 1.25.1 is required.
parent c5982d51
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
{
  lib,
  tailscale,
  buildGo124Module,
  buildGoModule,
}:

buildGo124Module {
  inherit (tailscale)
    version
    src
    vendorHash
    ;
buildGoModule {
  pname = "tailscale-gitops-pusher";
  inherit (tailscale) version;

  # It's hosted in the `tailscale` monorepo.
  inherit (tailscale) src vendorHash;

  env = {
    inherit (tailscale) CGO_ENABLED;
@@ -27,11 +26,11 @@ buildGo124Module {
    "-X tailscale.com/version.shortStamp=${tailscale.version}"
  ];

  meta = with lib; {
  meta = {
    homepage = "https://tailscale.com";
    description = "Allows users to use a GitOps flow for managing Tailscale ACLs";
    license = licenses.bsd3;
    license = lib.licenses.bsd3;
    mainProgram = "gitops-pusher";
    teams = [ teams.cyberus ];
    teams = [ lib.teams.cyberus ];
  };
}