xin/overlays/tailscale.nix

24 lines
741 B
Nix
Raw Normal View History

let
2023-03-22 10:35:46 -06:00
tailscale = _: super: {
tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
buildGoModule = args:
2023-03-14 15:15:39 -06:00
super.buildGo120Module (args // rec {
2023-04-27 07:03:09 -06:00
version = "1.40.0";
src = super.fetchFromGitHub {
owner = "tailscale";
repo = "tailscale";
rev = "v${version}";
2023-04-27 07:03:09 -06:00
hash = "sha256-iPf3ams613VHPesbxoBaaw9eav5p781+wEmbJ+15yfY=";
};
2023-04-27 07:03:09 -06:00
vendorHash = "sha256-lirn07XE3JOS6oiwZBMwxzywkbXHowOJUMWWLrZtccY=";
vendorSha256 = "_unset";
ldflags = [
2023-03-20 08:58:28 -06:00
"-X tailscale.com/version.longStamp=${version}"
"-X tailscale.com/version.shortStamp=${version}"
];
});
};
};
in tailscale