rosenthal: tailscale: Update to 1.104.1.

* modules/rosenthal/packages/patches/tailscale-set-guix-system-path-for-ssh.patch:
  Update patch.
* modules/rosenthal/packages/networking.scm (tailscale): Update to 1.104.1.
  [arguments] <#:go>: Use go-1.27.
  <#:vendor-hash>: Update.
This commit is contained in:
Hilton Chain committed 2026-10-14 03:59:41 +08:00
1 parent 717eb109be
commit 15e867800b
2 files changed
+40 -21

No files matched your search

+4 -4
View File
@@ -216,7 +216,7 @@ a SOCKS5 proxy.")
(define-public tailscale
(package
(name "tailscale")
(version "1.102.3")
(version "1.104.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -225,7 +225,7 @@ a SOCKS5 proxy.")
(file-name (git-file-name name version))
(sha256
(base32
"0pqnc5bxl01nzpg2alb6njwq9k0g9psckw7v3wjfraf228rawd9p"))
"1f7cxhs1y3sz1jn4hq4h1yaxz4i2m33nxxfk23yblhid3dbhdkbz"))
(patches
(rosenthal-patches
"tailscale-set-guix-system-PATH-for-SSH.patch"))
@@ -238,8 +238,8 @@ a SOCKS5 proxy.")
(build-system go-vendored-build-system)
(arguments
(list
#:go go-1.26
#:vendor-hash (base32 "01wvidvld4749f9bdsmvi84l005k6lfsqvcn6yw13jikzd8a8qka")
#:go go-1.27
#:vendor-hash (base32 "19fmb8v1m1qr92smjzmwzx9pzanbv9hpxsf3x1mzbaim56xrpmkz")
#:tests? (not (%current-target-system)) ;TODO: Run test suite.
#:install-source? #f
#:build-flags
@@ -1,28 +1,47 @@
From 06ab33a4317d41953ad167bfabd5b5ff4e001fee Mon Sep 17 00:00:00 2001
From f1a0448e42ce876a58c01da9f5b40c4991a44b27 Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Wed, 29 Oct 2025 18:58:27 +0800
Date: Sat, 10 Oct 2026 09:17:00 +0800
Subject: [PATCH] Set Guix System PATH for Tailscale SSH.
---
ssh/tailssh/user.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
ssh/tailssh/user_unix.go | 2 ++
version/distro/distro.go | 3 +++
2 files changed, 5 insertions(+)
diff --git a/ssh/tailssh/user.go b/ssh/tailssh/user.go
index ac92c762a..fccc5cbf5 100644
--- a/ssh/tailssh/user.go
+++ b/ssh/tailssh/user.go
@@ -109,9 +109,9 @@ func defaultPathForUser(u *user.User) string {
diff --git a/ssh/tailssh/user_unix.go b/ssh/tailssh/user_unix.go
index eb1941886..5840f2af7 100644
--- a/ssh/tailssh/user_unix.go
+++ b/ssh/tailssh/user_unix.go
@@ -92,6 +92,8 @@ func defaultPathForUser(u *user.User) string {
return "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
case distro.NixOS:
return defaultPathForUserOnNixOS(u)
+ case distro.Guix:
+ return "/run/privileged/bin:/run/current-system/profile/sbin:/run/current-system/profile/bin"
}
if isRoot {
- return "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+ return "/run/privileged/bin:/run/current-system/profile/sbin:/run/current-system/profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}
- return "/usr/local/bin:/usr/bin:/bin"
+ return "/run/privileged/bin:/run/current-system/profile/sbin:/run/current-system/profile/bin:/usr/local/bin:/usr/bin:/bin"
}
return "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
diff --git a/version/distro/distro.go b/version/distro/distro.go
index 5407f8dae..2a6312bf7 100644
--- a/version/distro/distro.go
+++ b/version/distro/distro.go
@@ -34,6 +34,7 @@
Alpine = Distro("alpine")
UBNT = Distro("ubnt") // Ubiquiti Networks
JetKVM = Distro("jetkvm")
+ Guix = Distro("guix")
)
func defaultPathForUserOnNixOS(u *user.User) string {
var distro lazy.SyncValue[Distro]
@@ -112,6 +113,8 @@ func linuxDistro() Distro {
return Alpine
case runtime.GOARCH == "arm" && isDeviceModel("JetKVM"):
return JetKVM
+ case have("/run/current-system/parameters"):
+ return Guix
}
return ""
}
--
2.51.0
2.54.0