overlays/tailscale: update to 1.52.0 on unstable

This commit is contained in:
Aaron Bieber 2023-10-30 13:08:33 -06:00
parent c978e00a6b
commit 0ebeb90bfe
No known key found for this signature in database
2 changed files with 18 additions and 17 deletions

View File

@ -7,7 +7,7 @@ let
#_1password-gui = prIsOpen.overlay 235900 (import ./1password-gui.nix); #_1password-gui = prIsOpen.overlay 235900 (import ./1password-gui.nix);
#openssh = import ./openssh.nix; #openssh = import ./openssh.nix;
#obsidian = prIsOpen.overlay 235408 (import ./obsidian.nix); #obsidian = prIsOpen.overlay 235408 (import ./obsidian.nix);
#tailscale = prIsOpen.overlay 239176 import ./tailscale.nix; tailscale = prIsOpen.overlay 0 import ./tailscale.nix;
#tidal-hifi = prIsOpen.overlay 239732 (import ./tidal-hifi.nix); #tidal-hifi = prIsOpen.overlay 239732 (import ./tidal-hifi.nix);
matrix-synapse = prIsOpen.overlay 263243 (import ./matrix-synapse.nix); matrix-synapse = prIsOpen.overlay 263243 (import ./matrix-synapse.nix);
#nixd = prIsOpen.overlay 238779 (import ./nixd.nix); #nixd = prIsOpen.overlay 238779 (import ./nixd.nix);
@ -21,6 +21,7 @@ in
nixpkgs.overlays = nixpkgs.overlays =
if isUnstable if isUnstable
then [ then [
tailscale
pls pls
bruno bruno
signal-desktop signal-desktop

View File

@ -1,31 +1,31 @@
let let
version = "1.44.0"; version = "1.52.0";
fetchArgs = { fetchArgs = {
owner = "tailscale"; owner = "tailscale";
repo = "tailscale"; repo = "tailscale";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-/SiQFkhVseLkjK7ePNzNyBs0r3XE3kHJ6CDTFjdCXec="; hash = "sha256-mvsDM1kOLP/1LbTzmojquEF8HGy6Kb2cqJu7EnxEHPU=";
}; };
vendorHash = "sha256-fgCrmtJs1svFz0Xn7iwLNrbBNlcO6V0yqGPMY0+V1VQ="; vendorHash = "sha256-WGZkpffwe4I8FewdBHXGaLbKQP/kHr7UF2lCXBTcNb4=";
ldflags = [ ldflags = [
"-X tailscale.com/version.longStamp=${version}" "-X tailscale.com/version.longStamp=${version}"
"-X tailscale.com/version.shortStamp=${version}" "-X tailscale.com/version.shortStamp=${version}"
]; ];
tailscale = _: super: {
tailscale = super.tailscale.overrideAttrs (_: {
src = super.fetchFromGitHub fetchArgs;
inherit vendorHash ldflags version;
});
};
#tailscale = _: super: { #tailscale = _: super: {
# tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" { # tailscale = super.tailscale.overrideAttrs (_: {
# buildGoModule = args: # src = super.fetchFromGitHub fetchArgs;
# super.buildGo120Module (args // { # inherit vendorHash ldflags version;
# src = super.fetchFromGitHub fetchArgs; # });
# inherit vendorHash ldflags version;
# });
# };
#}; #};
tailscale = _: super: {
tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
buildGoModule = args:
super.buildGo121Module (args // {
src = super.fetchFromGitHub fetchArgs;
inherit vendorHash ldflags version;
});
};
};
in in
tailscale tailscale