python312Packages.numpy_2: add a coreIncludeDir passthru attribute

This commit is contained in:
Doron Behar 2024-07-22 17:48:17 +03:00
parent d649d30d9e
commit bc87f99ce4

View file

@ -3,6 +3,7 @@
stdenv, stdenv,
fetchPypi, fetchPypi,
python, python,
numpy_2,
pythonAtLeast, pythonAtLeast,
pythonOlder, pythonOlder,
buildPythonPackage, buildPythonPackage,
@ -166,6 +167,7 @@ buildPythonPackage rec {
blas = blas.provider; blas = blas.provider;
blasImplementation = blas.implementation; blasImplementation = blas.implementation;
inherit cfg; inherit cfg;
coreIncludeDir = "${numpy_2}/${python.sitePackages}/numpy/_core/include";
tests = { tests = {
inherit sage; inherit sage;
}; };