From 4c2dd4e339f0e7a2daaeb721d438b73e9e26ccc0 Mon Sep 17 00:00:00 2001 From: phanirithvij Date: Sun, 15 Feb 2026 15:05:13 +0530 Subject: [PATCH] fx: skip flaky test on x86_64-darwin Signed-off-by: phanirithvij --- pkgs/by-name/fx/fx/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/fx/fx/package.nix b/pkgs/by-name/fx/fx/package.nix index 69c0bc0bc327..cbe60006ecba 100644 --- a/pkgs/by-name/fx/fx/package.nix +++ b/pkgs/by-name/fx/fx/package.nix @@ -32,6 +32,11 @@ buildGoModule (finalAttrs: { --zsh <($out/bin/fx --comp zsh) ''; + checkFlags = lib.optionals (stdenv.hostPlatform.system == "x86_64-darwin") [ + # flaky only on x86_64 darwin, https://hydra.nixos.org/build/319903711 + "-skip=^TestSearchCaching" + ]; + nativeInstallCheckInputs = [ versionCheckHook writableTmpDirAsHomeHook