overlay: bump tailscale for stable hosts

This commit is contained in:
Aaron Bieber 2023-01-11 11:17:46 -07:00
parent 7b9d0b22d8
commit d98033da46
No known key found for this signature in database
2 changed files with 42 additions and 21 deletions

View File

@ -1,4 +1,25 @@
{ self, config, pkgs, lib, isUnstable, ... }: { { self, config, pkgs, lib, isUnstable, ... }:
let
tailscale = self: super: {
tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
buildGoModule = args:
super.buildGo119Module (args // rec {
version = "1.34.2";
src = super.fetchFromGitHub {
owner = "tailscale";
repo = "tailscale";
rev = "v${version}";
sha256 = "sha256-uFr7swB7AQLvjDg+1KBCQuoLkDw454+gVe+6/iD74LM=";
};
vendorSha256 = "sha256-//qhvzZzaAqfcj4HZIy6ZkGyfAwtRdf7ARaXI+trTe0=";
ldflags = [
"-X tailscale.com/version.Long=${version}"
"-X tailscale.com/version.Short=${version}"
];
});
};
};
in {
nixpkgs.overlays = if isUnstable then nixpkgs.overlays = if isUnstable then
[ [
(self: super: { (self: super: {
@ -13,8 +34,8 @@
}); });
}) })
] ]
else else [
[ tailscale
(self: super: { (self: super: {
matrix-synapse = super.matrix-synapse.overrideAttrs (old: rec { matrix-synapse = super.matrix-synapse.overrideAttrs (old: rec {
version = "1.74.0"; version = "1.74.0";