ocamlPackages.eigen: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-10 04:20:00 -05:00 committed by Vincent Laporte
parent 569d6d0fb1
commit e2212aee7e

View file

@ -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; {