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
{
2
lib,
3
stdenv,
4
-
buildGo123Module,
0
5
fetchFromGitHub,
6
fetchpatch,
0
7
makeWrapper,
0
0
8
getent,
9
iproute2,
10
iptables,
11
-
lsof,
12
shadow,
13
procps,
0
0
0
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 [
0
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,
0
15
shadow,
16
procps,
17
+
# runtime tooling - darwin
18
+
lsof,
19
+
20
nixosTests,
0
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
0
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