diff --git a/pkgs/servers/tailscale/default.nix b/pkgs/servers/tailscale/default.nix index bfa583da8557..5b1253cd8c8a 100644 --- a/pkgs/servers/tailscale/default.nix +++ b/pkgs/servers/tailscale/default.nix @@ -1,9 +1,9 @@ -{ lib, stdenv, buildGo121Module, fetchFromGitHub, makeWrapper, iptables, iproute2, procps, shadow, getent }: +{ lib, stdenv, buildGoModule, fetchFromGitHub, makeWrapper, iptables, iproute2, procps, shadow, getent }: let version = "1.48.1"; in -buildGo121Module { +buildGoModule { pname = "tailscale"; inherit version; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 771f9a19eed6..66c36c8cff5f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27394,7 +27394,9 @@ with pkgs; systemd-journal2gelf = callPackage ../tools/system/systemd-journal2gelf { }; - tailscale = callPackage ../servers/tailscale { }; + tailscale = callPackage ../servers/tailscale { + buildGoModule = buildGo121Module; + }; tailscale-systray = callPackage ../applications/misc/tailscale-systray { };