python3Packages.datatable: get libc++ headers on Darwin from stdenv.cc.libcxx

This commit is contained in:
Randy Eckenrode
2025-04-18 19:06:37 -04:00
parent 89dc517577
commit 6dde6fff27
@@ -6,7 +6,6 @@
pipInstallHook,
blessed,
docutils,
libcxx,
llvm,
pytestCheckHook,
typesentry,
@@ -53,7 +52,7 @@ buildPythonPackage rec {
];
LLVM = llvm;
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-isystem ${lib.getDev libcxx}/include/c++/v1";
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
# test suite is very cpu intensive, only run small subset to ensure package is working as expected
pytestFlagsArray = [ "tests/test-sets.py" ];