2023-02-02 09:47:29 -07:00
|
|
|
let
|
2023-03-22 10:35:46 -06:00
|
|
|
tailscale = _: super: {
|
2023-02-02 09:47:29 -07:00
|
|
|
tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
|
|
|
|
buildGoModule = args:
|
2023-03-14 15:15:39 -06:00
|
|
|
super.buildGo120Module (args // rec {
|
2023-03-23 07:40:25 -06:00
|
|
|
version = "1.38.2";
|
2023-02-02 09:47:29 -07:00
|
|
|
src = super.fetchFromGitHub {
|
|
|
|
owner = "tailscale";
|
|
|
|
repo = "tailscale";
|
|
|
|
rev = "v${version}";
|
2023-03-23 07:40:25 -06:00
|
|
|
hash = "sha256-5WNP1wVaKKTauny/dANODMCiQmyzOcWRd83RUInoCuk=";
|
2023-02-02 09:47:29 -07:00
|
|
|
};
|
2023-03-14 15:15:39 -06:00
|
|
|
vendorHash = "sha256-LIvaxSo+4LuHUk8DIZ27IaRQwaDnjW6Jwm5AEc/V95A=";
|
2023-02-24 05:33:13 -07:00
|
|
|
vendorSha256 = "_unset";
|
2023-02-02 09:47:29 -07:00
|
|
|
ldflags = [
|
2023-03-20 08:58:28 -06:00
|
|
|
"-X tailscale.com/version.longStamp=${version}"
|
|
|
|
"-X tailscale.com/version.shortStamp=${version}"
|
2023-02-02 09:47:29 -07:00
|
|
|
];
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
in tailscale
|