Merge pull request #285976 from natsukium/safetensors/fix-darwin

python311Packages.safetensors: fix build on darwin
This commit is contained in:
OTABI Tomoya
2024-02-04 11:31:07 +09:00
committed by GitHub
@@ -55,6 +55,9 @@ buildPythonPackage rec {
"tests/test_flax_comparison.py"
"tests/test_paddle_comparison.py"
"tests/test_tf_comparison.py"
] ++ lib.optionals stdenv.isDarwin [
# don't require mlx (not in Nixpkgs) to run tests
"tests/test_mlx_comparison.py"
];
pythonImportsCheck = [