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