temporal: 1.30.5 → 1.31.1

This commit is contained in:
Jonathan Davies
2026-07-05 12:00:39 +00:00
parent 65291eac4d
commit 77b9825730
2 changed files with 3 additions and 30 deletions

View File

@@ -1,20 +0,0 @@
--- vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go
+++ vendor/modernc.org/libc/honnef.co/go/netdb/netdb.go
@@ -696,7 +696,7 @@ func init() {
// Load protocols
data, err := ioutil.ReadFile("/etc/protocols")
if err != nil {
- if !os.IsNotExist(err) {
+ if !os.IsNotExist(err) && !os.IsPermission(err) {
panic(err)
}
@@ -732,7 +732,7 @@ func init() {
// Load services
data, err = ioutil.ReadFile("/etc/services")
if err != nil {
- if !os.IsNotExist(err) {
+ if !os.IsNotExist(err) && !os.IsPermission(err) {
panic(err)
}

View File

@@ -11,23 +11,16 @@
buildGoModule (finalAttrs: {
pname = "temporal";
version = "1.30.5";
version = "1.31.1";
src = fetchFromGitHub {
owner = "temporalio";
repo = "temporal";
tag = "v${finalAttrs.version}";
hash = "sha256-Uw1E1GcLtIo1XZea/tb1TnbIk9O4Mf2NaCpDwUIfSak=";
hash = "sha256-NOmIEVBWA91oU7+yp1ySF7dyGlnQHgor1gKvvGg80BE=";
};
vendorHash = "sha256-5++ETJgWDVveUxb2QZL5AUQG8/8QNVx5iS/NBjoacCY=";
overrideModAttrs = old: {
# netdb.go allows /etc/protocols and /etc/services to not exist and happily proceeds, but it panic()s if they exist but return permission denied.
postBuild = ''
patch -p0 < ${./darwin-sandbox-fix.patch}
'';
};
vendorHash = "sha256-KZKlARki/AXGhfsQsOixHjx+t1H9htd9oBx3wsiebY0=";
excludedPackages = [ "./build" ];