diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-08-09 11:52:45 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-08-10 10:32:44 +0200 |
commit | 483c89cf590c1c4aa1d2ceb37c675dfbe1ce9c5b (patch) | |
tree | 4f1daff70da97be07227988783b09702c1788114 /pkgs | |
parent | e61bbf2eb03c3e5aa99d5a0fd2c40575206780c6 (diff) |
tailscale: format
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/tailscale/default.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/servers/tailscale/default.nix b/pkgs/servers/tailscale/default.nix index d22d358d4480b..f6f60771921f4 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 ''; |