python312Packages.scipy: add xcbuild for darwin build
This commit is contained in:
parent
6805615be3
commit
0b1ae52fe3
@ -5,6 +5,7 @@
|
|||||||
fetchpatch,
|
fetchpatch,
|
||||||
fetchurl,
|
fetchurl,
|
||||||
writeText,
|
writeText,
|
||||||
|
xcbuild,
|
||||||
python,
|
python,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
cython,
|
cython,
|
||||||
@ -98,6 +99,12 @@ buildPythonPackage {
|
|||||||
pkg-config
|
pkg-config
|
||||||
wheel
|
wheel
|
||||||
setuptools
|
setuptools
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
# Minimal version required according to:
|
||||||
|
# https://github.com/scipy/scipy/blob/v1.14.0/scipy/meson.build#L185-L188
|
||||||
|
(xcbuild.override {
|
||||||
|
sdkVer = "13.3";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user