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);
#openssh = import ./openssh.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);
tidal-hifi = prIsOpen.overlay 238572 (import ./tidal-hifi.nix);
matrix-synapse = prIsOpen.overlay 238845 (import ./matrix-synapse.nix);
nixd = prIsOpen.overlay 238779 (import ./nixd.nix);
in {
nixpkgs.overlays =
if isUnstable then [ tidal-hifi nixd ] else [ matrix-synapse ];
nixpkgs.overlays = if isUnstable then [
tailscale
tidal-hifi
nixd
] else [
matrix-synapse
tailscale
];
}
# 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
version = "1.44.0";
fetchArgs = {
owner = "tailscale";
repo = "tailscale";
rev = "v${version}";
hash = "sha256-/SiQFkhVseLkjK7ePNzNyBs0r3XE3kHJ6CDTFjdCXec=";
};
vendorHash = "sha256-fgCrmtJs1svFz0Xn7iwLNrbBNlcO6V0yqGPMY0+V1VQ=";
ldflags = [
"-X tailscale.com/version.longStamp=${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.tailscale.overrideAttrs (_: rec {
version = "1.42.0";
src = super.fetchFromGitHub {
owner = "tailscale";
repo = "tailscale";
rev = "v${version}";
hash = "sha256-J7seajRoUOG/nm5iYuiv3lcS5vTT1XxZTxiSmf/TjGI=";
};
vendorHash = "sha256-7L+dvS++UNfMVcPUCbK/xuBPwtrzW4RpZTtcl7VCwQs=";
ldflags = [
"-X tailscale.com/version.longStamp=${version}"
"-X tailscale.com/version.shortStamp=${version}"
];
});
tailscale = super.callPackage "${super.path}/pkgs/servers/tailscale" {
buildGoModule = args:
super.buildGo120Module (args // {
src = super.fetchFromGitHub fetchArgs;
inherit vendorHash ldflags version;
});
};
};
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"
}