From a83c26d937e8e4566107386a77ca72dfbd578ced Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 8 Jul 2026 21:27:15 -0400 Subject: [PATCH] llama-cpp: remove passthru test specific to x86_64-darwin The architecture is no longer support so we no longer need to conditionalize metalSupport on isAarch64, nor we need to carry a test that makes sense only when metal support is off (which was the case on x86_64-darwin). --- pkgs/by-name/ll/llama-cpp/package.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/by-name/ll/llama-cpp/package.nix b/pkgs/by-name/ll/llama-cpp/package.nix index 6bfc3ffbed05..513506206dcc 100644 --- a/pkgs/by-name/ll/llama-cpp/package.nix +++ b/pkgs/by-name/ll/llama-cpp/package.nix @@ -34,7 +34,7 @@ npmHooks, pkg-config, - metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 && !openclSupport, + metalSupport ? stdenv.hostPlatform.isDarwin && !openclSupport, vulkanSupport ? false, rpcSupport ? false, openssl, @@ -206,9 +206,6 @@ effectiveStdenv.mkDerivation (finalAttrs: { doCheck = false; passthru = { - tests = lib.optionalAttrs stdenv.hostPlatform.isDarwin { - metal = llama-cpp.override { metalSupport = true; }; - }; updateScript = nix-update-script { attrPath = "llama-cpp"; extraArgs = [