anchor.diff:      "--with-rc"
       "--with-dm"
       "--with-verbs=${rdma-core}"
  -  ];
  +  ] ++ lib.optional enableCuda "--with-cuda=${cudatoolkit'}";
   
     enableParallelBuilding = true;
   
  
positive.code: 
    nativeBuildInputs = [ autoreconfHook doxygen ];
  
    buildInputs = [ numactl rdma-core libbfd libiberty perl zlib ];
  
    configureFlags = [
      "--with-rdmacm=${rdma-core}"
  
negative.code: { lib, stdenv, fetchFromGitHub, autoreconfHook, doxygen
  , numactl, rdma-core, libbfd, libiberty, perl, zlib, symlinkJoin
  , enableCuda ? false
  , cudatoolkit
  }:
  
  let
    # Needed for configure to find all libraries
    cudatoolkit' = symlinkJoin {
      inherit (cudatoolkit) name meta;
      paths = [ cudatoolkit cudatoolkit.lib ];
    };
  
  in stdenv.mkDerivation rec {
    pname = "ucx";
    version = "1.11.2";
  
  