lacaml: Use propagatedBuildInputs for stublibs

This frees the packages depending on lacaml to have to repeat this.
This commit is contained in:
Cedric Cellier 2019-03-27 18:49:31 +01:00 committed by Vincent Laporte
parent 39769df9df
commit 94560d77ec

View File

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
sha256 = "1aflg07cc9ak9mg1cr0qr368c9s141glwlarl5nhalf6hhq7ibcb";
};
buildInputs =
[ ocaml findlib dune base stdio liblapack blas ] ++
buildInputs = [ ocaml findlib dune base stdio ];
propagatedBuildInputs = [ liblapack blas ] ++
stdenv.lib.optionals stdenv.isDarwin
[ darwin.apple_sdk.frameworks.Accelerate ];