python3Packages.mlx-lm: mark x86_64-darwin as bad platform

This allows consumers like ramalama use availableOn on the package to
conditionally require it on platforms that support mlx.
This commit is contained in:
Ihar Hrachyshka
2026-01-21 19:01:45 -05:00
parent c1cf4a5070
commit ee813d4b5a
@@ -82,5 +82,9 @@ buildPythonPackage (finalAttrs: {
homepage = "https://github.com/ml-explore/mlx-lm";
changelog = "https://github.com/ml-explore/mlx-lm/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
badPlatforms = [
# Building for x86_64 on macOS is not supported by mlx (dependency)
"x86_64-darwin"
];
};
})