From 27af57e54af18b21790b113e57462fdf405d0147 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 4 Jul 2025 09:49:05 +0300 Subject: [PATCH] python313Packages.scipy: use external system libraries as dependencies Per https://github.com/scipy/scipy/pull/22893 --- pkgs/development/python-modules/scipy/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index f08228330bc7..21e2cf810614 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -28,6 +28,8 @@ pybind11, pooch, xsimd, + boost188, + qhull, # dependencies numpy, @@ -131,6 +133,8 @@ buildPythonPackage { pybind11 pooch xsimd + boost188 + qhull ]; dependencies = [ numpy ]; @@ -182,6 +186,7 @@ buildPythonPackage { # meson the proper cross compilation related arguments. See also: # https://docs.scipy.org/doc/scipy/building/cross_compilation.html "--cross-file=${crossFileScipy}" + "-Duse-system-libraries=all" ]; # disable stackprotector on aarch64-darwin for now