lol

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

+9
+9
pkgs/development/python-modules/ml-dtypes/default.nix
··· 2 , buildPythonPackage 3 , pythonOlder 4 , fetchFromGitHub 5 , setuptools 6 , pybind11 7 , numpy ··· 26 # Hence, we rely on the bundled eigen library. 27 fetchSubmodules = true; 28 }; 29 30 postPatch = '' 31 substituteInPlace pyproject.toml \
··· 2 , buildPythonPackage 3 , pythonOlder 4 , fetchFromGitHub 5 + , fetchpatch 6 , setuptools 7 , pybind11 8 , numpy ··· 27 # Hence, we rely on the bundled eigen library. 28 fetchSubmodules = true; 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 + ]; 38 39 postPatch = '' 40 substituteInPlace pyproject.toml \