about summary refs log tree commit diff
path: root/pkgs/servers/tailscale/default.nix
diff options
context:
space:
mode:
authorSandro Jäckel2021-08-09 11:52:45 +0200
committerSandro Jäckel2021-08-10 10:32:44 +0200
commit483c89cf590c1c4aa1d2ceb37c675dfbe1ce9c5b (patch)
tree4f1daff70da97be07227988783b09702c1788114 /pkgs/servers/tailscale/default.nix
parente61bbf2eb03c3e5aa99d5a0fd2c40575206780c6 (diff)
tailscale: format
Diffstat (limited to 'pkgs/servers/tailscale/default.nix')
-rw-r--r--pkgs/servers/tailscale/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/servers/tailscale/default.nix b/pkgs/servers/tailscale/default.nix
index d22d358d4480..f6f60771921f 100644
--- a/pkgs/servers/tailscale/default.nix
+++ b/pkgs/servers/tailscale/default.nix
@@ -26,13 +26,9 @@ buildGoModule rec {
   ldflags = [ "-X tailscale.com/version.Long=${version}" "-X tailscale.com/version.Short=${version}" ];
 
   postInstall = ''
-    wrapProgram $out/bin/tailscaled --prefix PATH : ${
-      lib.makeBinPath [ iproute2 iptables ]
-    }
+    wrapProgram $out/bin/tailscaled --prefix PATH : ${lib.makeBinPath [ iproute2 iptables ]}
+    wrapProgram $out/bin/tailscale --suffix PATH : ${lib.makeBinPath [ procps ]}
 
-    wrapProgram $out/bin/tailscale --suffix PATH : ${
-      lib.makeBinPath [ procps ]
-    }
     sed -i -e "s#/usr/sbin#$out/bin#" -e "/^EnvironmentFile/d" ./cmd/tailscaled/tailscaled.service
     install -D -m0444 -t $out/lib/systemd/system ./cmd/tailscaled/tailscaled.service
   '';