From ca52fb855481116c8f5ae14945a01bff933f1743 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Sat, 13 Jul 2019 13:41:14 +0000 Subject: [PATCH] openmpi: unbundle libevent and hwloc on Darwin When these dependencies are not found OpenMPI builds its internal copies. --- pkgs/development/libraries/openmpi/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/openmpi/default.nix b/pkgs/development/libraries/openmpi/default.nix index 17ad9e53005b..760fc3e32329 100644 --- a/pkgs/development/libraries/openmpi/default.nix +++ b/pkgs/development/libraries/openmpi/default.nix @@ -32,7 +32,8 @@ in stdenv.mkDerivation rec { ''; buildInputs = with stdenv; [ gfortran zlib ] - ++ lib.optionals isLinux [ libnl numactl libevent hwloc ] + ++ lib.optionals isLinux [ libnl numactl ] + ++ [ libevent hwloc ] ++ lib.optional (isLinux || isFreeBSD) rdma-core; nativeBuildInputs = [ perl ];