overlays/tailscale: 1.42.0 -> 1.44.0

This commit is contained in:
Aaron Bieber 2023-06-22 11:40:02 -06:00
parent 8c0df03382
commit e4a9433fb4
No known key found for this signature in database
3 changed files with 47 additions and 36 deletions

View File

@ -4,14 +4,20 @@ 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 = import ./tailscale.nix; tailscale = prIsOpen.overlay 239176 import ./tailscale.nix;
#jetbrains = prIsOpen 232308 (import ./jetbrains.nix); #jetbrains = prIsOpen 232308 (import ./jetbrains.nix);
tidal-hifi = prIsOpen.overlay 238572 (import ./tidal-hifi.nix); tidal-hifi = prIsOpen.overlay 238572 (import ./tidal-hifi.nix);
matrix-synapse = prIsOpen.overlay 238845 (import ./matrix-synapse.nix); matrix-synapse = prIsOpen.overlay 238845 (import ./matrix-synapse.nix);
nixd = prIsOpen.overlay 238779 (import ./nixd.nix); nixd = prIsOpen.overlay 238779 (import ./nixd.nix);
in { in {
nixpkgs.overlays = nixpkgs.overlays = if isUnstable then [
if isUnstable then [ tidal-hifi nixd ] else [ matrix-synapse ]; tailscale
tidal-hifi
nixd
] else [
matrix-synapse
tailscale
];
} }
# Example Python dep overlay # Example Python dep overlay
@ -24,20 +30,3 @@ in {
# }; # };
# }; # };
# }) # })
# Example of an overlay that changes the buildGoModule function
#tailscale = self: super: {
# tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
# buildGoModule = args:
# super.buildGo119Module (args // rec {
# version = "1.32.2";
# src = super.fetchFromGitHub {
# owner = "tailscale";
# repo = "tailscale";
# rev = "v${version}";
# sha256 = "sha256-CYNHD6TS9KTRftzSn9vAH4QlinqNgU/yZuUYxSvsl/M=";
# };
# vendorSha256 = "sha256-VW6FvbgLcokVGunTCHUXKuH5+O6T55hGIP2g5kFfBsE=";
# });
# };
#};

View File

@ -1,21 +1,34 @@
let let
tailscale = _: super: { version = "1.44.0";
tailscale = super.tailscale.overrideAttrs (_: rec { fetchArgs = {
version = "1.42.0";
src = super.fetchFromGitHub {
owner = "tailscale"; owner = "tailscale";
repo = "tailscale"; repo = "tailscale";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-J7seajRoUOG/nm5iYuiv3lcS5vTT1XxZTxiSmf/TjGI="; hash = "sha256-/SiQFkhVseLkjK7ePNzNyBs0r3XE3kHJ6CDTFjdCXec=";
}; };
vendorHash = "sha256-fgCrmtJs1svFz0Xn7iwLNrbBNlcO6V0yqGPMY0+V1VQ=";
vendorHash = "sha256-7L+dvS++UNfMVcPUCbK/xuBPwtrzW4RpZTtcl7VCwQs=";
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 (_: {
# version = "1.44.0";
# src = super.fetchFromGitHub fetchArgs
# inherit vendorHash ldflags version;
# ];
# });
#};
tailscale = _: super: {
tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
buildGoModule = args:
super.buildGo120Module (args // {
src = super.fetchFromGitHub fetchArgs;
inherit vendorHash ldflags version;
}); });
}; };
};
in tailscale in tailscale

View File

@ -0,0 +1,9 @@
{
"branches": [],
"error": "",
"pull_request": 239176,
"release": "stable",
"status": "open",
"status_info": {},
"title": "tailscale: 1.42.0 -> 1.44.0"
}