diff --git a/pkgs/by-name/ll/llama-cpp/package.nix b/pkgs/by-name/ll/llama-cpp/package.nix index 0b2f7c9b3a21..782bc5fe98bf 100644 --- a/pkgs/by-name/ll/llama-cpp/package.nix +++ b/pkgs/by-name/ll/llama-cpp/package.nix @@ -177,7 +177,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { doCheck = false; passthru = { - tests = { + tests = lib.optionalAttrs stdenv.hostPlatform.isDarwin { metal = llama-cpp.override { metalSupport = true; }; }; updateScript = nix-update-script {