python312Packages.scipy: add xcbuild for darwin build
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
writeText,
|
||||
xcbuild,
|
||||
python,
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
@@ -98,6 +99,12 @@ buildPythonPackage {
|
||||
pkg-config
|
||||
wheel
|
||||
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 = [
|
||||
|
||||
Reference in New Issue
Block a user