Loading pkgs/servers/tailscale/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ buildGoModule { pname = "tailscale"; inherit version; outputs = [ "out" "derper" ]; src = fetchFromGitHub { owner = "tailscale"; repo = "tailscale"; Loading @@ -43,7 +45,7 @@ buildGoModule { CGO_ENABLED = 0; subPackages = [ "cmd/tailscaled" ]; subPackages = [ "cmd/derper" "cmd/tailscaled" ]; ldflags = [ "-w" Loading @@ -60,6 +62,7 @@ buildGoModule { postInstall = '' ln -s $out/bin/tailscaled $out/bin/tailscale moveToOutput "bin/derper" "$derper" '' + lib.optionalString stdenv.hostPlatform.isLinux '' wrapProgram $out/bin/tailscaled \ --prefix PATH : ${lib.makeBinPath [ iproute2 iptables getent shadow ]} \ Loading Loading
pkgs/servers/tailscale/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -21,6 +21,8 @@ buildGoModule { pname = "tailscale"; inherit version; outputs = [ "out" "derper" ]; src = fetchFromGitHub { owner = "tailscale"; repo = "tailscale"; Loading @@ -43,7 +45,7 @@ buildGoModule { CGO_ENABLED = 0; subPackages = [ "cmd/tailscaled" ]; subPackages = [ "cmd/derper" "cmd/tailscaled" ]; ldflags = [ "-w" Loading @@ -60,6 +62,7 @@ buildGoModule { postInstall = '' ln -s $out/bin/tailscaled $out/bin/tailscale moveToOutput "bin/derper" "$derper" '' + lib.optionalString stdenv.hostPlatform.isLinux '' wrapProgram $out/bin/tailscaled \ --prefix PATH : ${lib.makeBinPath [ iproute2 iptables getent shadow ]} \ Loading