From 94560d77ec8efbe9be882cdd8e5a1cc78c3c5ca3 Mon Sep 17 00:00:00 2001 From: Cedric Cellier Date: Wed, 27 Mar 2019 18:49:31 +0100 Subject: [PATCH] lacaml: Use propagatedBuildInputs for stublibs This frees the packages depending on lacaml to have to repeat this. --- pkgs/development/ocaml-modules/lacaml/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/lacaml/default.nix b/pkgs/development/ocaml-modules/lacaml/default.nix index 4556fb1eb41..4b35ce25fde 100644 --- a/pkgs/development/ocaml-modules/lacaml/default.nix +++ b/pkgs/development/ocaml-modules/lacaml/default.nix @@ -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 ];