From 77b9825730fcea5af0a2ee5bec5f52838ca18382 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Sun, 5 Jul 2026 12:00:39 +0000 Subject: [PATCH] =?UTF-8?q?temporal:=201.30.5=20=E2=86=92=201.31.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../te/temporal/darwin-sandbox-fix.patch | 20 ------------------- pkgs/by-name/te/temporal/package.nix | 13 +++--------- 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 pkgs/by-name/te/temporal/darwin-sandbox-fix.patch diff --git a/pkgs/by-name/te/temporal/darwin-sandbox-fix.patch b/pkgs/by-name/te/temporal/darwin-sandbox-fix.patch deleted file mode 100644 index b390d492467c..000000000000 --- a/pkgs/by-name/te/temporal/darwin-sandbox-fix.patch +++ /dev/null @@ -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) - } - diff --git a/pkgs/by-name/te/temporal/package.nix b/pkgs/by-name/te/temporal/package.nix index 5e16837ddee7..59ef588c3c82 100644 --- a/pkgs/by-name/te/temporal/package.nix +++ b/pkgs/by-name/te/temporal/package.nix @@ -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" ];