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).
This commit is contained in:
Ihar Hrachyshka
2026-07-08 21:29:04 -04:00
parent 8ab1ccd1c1
commit a83c26d937
+1 -4
View File
@@ -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 = [