From 052411ad1cd09ea5ceeeae66b4e3f69a31b5596b Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Thu, 25 Sep 2025 13:31:06 -0700 Subject: [PATCH] tailscale-gitops-pusher: fix build after tailscale 1.88 Go 1.25.1 is required. --- .../ta/tailscale-gitops-pusher/package.nix | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/ta/tailscale-gitops-pusher/package.nix b/pkgs/by-name/ta/tailscale-gitops-pusher/package.nix index 16af27b5ef26..dbb0c637efe2 100644 --- a/pkgs/by-name/ta/tailscale-gitops-pusher/package.nix +++ b/pkgs/by-name/ta/tailscale-gitops-pusher/package.nix @@ -1,16 +1,15 @@ { 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 ]; }; }