tailscale: move back to buildGoModule

06kellyjac b10b8846 1fd39892

+13 -8
+13 -8
pkgs/by-name/ta/tailscale/package.nix
··· 1 { 2 lib, 3 stdenv, 4 - buildGo123Module, 5 fetchFromGitHub, 6 fetchpatch, 7 makeWrapper, 8 getent, 9 iproute2, 10 iptables, 11 - lsof, 12 shadow, 13 procps, 14 nixosTests, 15 - installShellFiles, 16 tailscale-nginx-auth, 17 }: 18 19 let 20 version = "1.80.2"; 21 in 22 - buildGo123Module { 23 pname = "tailscale"; 24 inherit version; 25 ··· 93 wrapProgram $out/bin/tailscaled \ 94 --prefix PATH : ${ 95 lib.makeBinPath [ 96 iproute2 97 iptables 98 - getent 99 shadow 100 ] 101 } \ ··· 116 inherit tailscale-nginx-auth; 117 }; 118 119 - meta = with lib; { 120 homepage = "https://tailscale.com"; 121 description = "Node agent for Tailscale, a mesh VPN built on WireGuard"; 122 changelog = "https://github.com/tailscale/tailscale/releases/tag/v${version}"; 123 - license = licenses.bsd3; 124 mainProgram = "tailscale"; 125 - maintainers = with maintainers; [ 126 mbaillie 127 jk 128 mfrw
··· 1 { 2 lib, 3 stdenv, 4 + 5 + buildGoModule, 6 fetchFromGitHub, 7 fetchpatch, 8 + 9 makeWrapper, 10 + installShellFiles, 11 + # runtime tooling - linux 12 getent, 13 iproute2, 14 iptables, 15 shadow, 16 procps, 17 + # runtime tooling - darwin 18 + lsof, 19 + 20 nixosTests, 21 tailscale-nginx-auth, 22 }: 23 24 let 25 version = "1.80.2"; 26 in 27 + buildGoModule { 28 pname = "tailscale"; 29 inherit version; 30 ··· 98 wrapProgram $out/bin/tailscaled \ 99 --prefix PATH : ${ 100 lib.makeBinPath [ 101 + getent 102 iproute2 103 iptables 104 shadow 105 ] 106 } \ ··· 121 inherit tailscale-nginx-auth; 122 }; 123 124 + meta = { 125 homepage = "https://tailscale.com"; 126 description = "Node agent for Tailscale, a mesh VPN built on WireGuard"; 127 changelog = "https://github.com/tailscale/tailscale/releases/tag/v${version}"; 128 + license = lib.licenses.bsd3; 129 mainProgram = "tailscale"; 130 + maintainers = with lib.maintainers; [ 131 mbaillie 132 jk 133 mfrw