ocamlPackages.eigen: get libc++ headers on Darwin from stdenv.cc.libcxx
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
buildDunePackage,
|
||||
fetchFromGitHub,
|
||||
ctypes,
|
||||
libcxx,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
@@ -22,7 +21,7 @@ buildDunePackage rec {
|
||||
|
||||
minimalOCamlVersion = "4.02";
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
|
||||
|
||||
propagatedBuildInputs = [ ctypes ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user