From 48e763b1aca8426ec4a7798c5b4ab89ada7631b5 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sat, 30 Sep 2023 17:02:39 +0200 Subject: [PATCH] ucx: use getDev to pickup rdam-core includes --- pkgs/development/libraries/ucx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/ucx/default.nix b/pkgs/development/libraries/ucx/default.nix index 4ded9c2860aa..dbc0866ebdbe 100644 --- a/pkgs/development/libraries/ucx/default.nix +++ b/pkgs/development/libraries/ucx/default.nix @@ -43,11 +43,11 @@ stdenv.mkDerivation rec { ++ lib.optionals enableRocm [ rocm-core rocm-runtime rocm-device-libs hip ]; configureFlags = [ - "--with-rdmacm=${rdma-core}" + "--with-rdmacm=${lib.getDev rdma-core}" "--with-dc" "--with-rc" "--with-dm" - "--with-verbs=${rdma-core}" + "--with-verbs=${lib.getDev rdma-core}" ] ++ lib.optional enableCuda "--with-cuda=${cudatoolkit'}" ++ lib.optional enableRocm "--with-rocm=${rocm}";