lol

python3Packages.ml-dtypes: fix build on aarch64-darwin

+9
+9
pkgs/development/python-modules/ml-dtypes/default.nix
··· 2 2 , buildPythonPackage 3 3 , pythonOlder 4 4 , fetchFromGitHub 5 + , fetchpatch 5 6 , setuptools 6 7 , pybind11 7 8 , numpy ··· 26 27 # Hence, we rely on the bundled eigen library. 27 28 fetchSubmodules = true; 28 29 }; 30 + 31 + patches = [ 32 + # See https://github.com/jax-ml/ml_dtypes/issues/106. 33 + (fetchpatch { 34 + url = "https://github.com/jax-ml/ml_dtypes/commit/c082a2df6bc0686b35c4b4a303fd1990485e181f.patch"; 35 + hash = "sha256-aVJy9vT00b98xOrJCdbCHSZBI3uyjafmN88Z2rjBS48="; 36 + }) 37 + ]; 29 38 30 39 postPatch = '' 31 40 substituteInPlace pyproject.toml \