ocamlPackages.eigen: fix build on darwin
This commit is contained in:
parent
569d6d0fb1
commit
e2212aee7e
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildDune2Package, fetchFromGitHub, ctypes }:
|
||||
{ stdenv, buildDune2Package, fetchFromGitHub, ctypes, libcxx }:
|
||||
|
||||
buildDune2Package rec {
|
||||
pname = "eigen";
|
||||
@ -13,6 +13,8 @@ buildDune2Package rec {
|
||||
|
||||
minimumOCamlVersion = "4.02";
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
||||
|
||||
propagatedBuildInputs = [ ctypes ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user