From 2eb6522e21c8795e31bd00fbf86d69496763979e Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Thu, 11 Sep 2025 18:32:18 -0400 Subject: [PATCH] llama-cpp: add metal test case --- pkgs/by-name/ll/llama-cpp/package.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ll/llama-cpp/package.nix b/pkgs/by-name/ll/llama-cpp/package.nix index 07d7ad0e71b4..4b259bf9dad2 100644 --- a/pkgs/by-name/ll/llama-cpp/package.nix +++ b/pkgs/by-name/ll/llama-cpp/package.nix @@ -32,6 +32,7 @@ rpcSupport ? false, apple-sdk_14, curl, + llama-cpp, shaderc, vulkan-headers, vulkan-loader, @@ -175,12 +176,17 @@ effectiveStdenv.mkDerivation (finalAttrs: { # the tests are failing as of 2025-08 doCheck = false; - passthru.updateScript = nix-update-script { - attrPath = "llama-cpp"; - extraArgs = [ - "--version-regex" - "b(.*)" - ]; + passthru = { + tests = { + metal = llama-cpp.override { metalSupport = true; }; + }; + updateScript = nix-update-script { + attrPath = "llama-cpp"; + extraArgs = [ + "--version-regex" + "b(.*)" + ]; + }; }; meta = {