From f48f44fd84d6d3caf454e2fb31eac1509cc3230c Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Thu, 13 Nov 2025 20:38:38 +0900 Subject: [PATCH] tcld: fix build on Linux --- pkgs/by-name/tc/tcld/package.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/tc/tcld/package.nix b/pkgs/by-name/tc/tcld/package.nix index eb093842494b..00f2f57b38c1 100644 --- a/pkgs/by-name/tc/tcld/package.nix +++ b/pkgs/by-name/tc/tcld/package.nix @@ -46,9 +46,10 @@ buildGoModule (finalAttrs: { # FIXME: Remove after https://github.com/temporalio/tcld/pull/447 lands. patches = [ ./compgen.patch ]; - # NOTE: Some tests appear to require (local only?) network access, which - # doesn't work in the sandbox. - __darwinAllowLocalNetworking = true; + checkFlags = [ + # This test appears to require network access and does not work in the sandbox. + "-skip=^TestFxDependencyInjection$" + ]; nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenvNoCC.buildPlatform.canExecute stdenvNoCC.hostPlatform) ''