anchor.diff:  
     nativeBuildInputs = [ pkgconfig bison makeWrapper ];
     propagatedBuildInputs = [ numactl rdma-core zlib infiniband-diags opensm ];
  -  buildInputs = [
  +  buildInputs = with lib; [
       numactl
       libxml2
       perl
  
positive.code:     "--enable-threads=multiple"
      "--enable-hybrid"
      "--enable-shared"
    ] ++ lib.optionals useSlurm [ "--with-pmi=pmi1" "--with-pm=slurm" ]
      ++ lib.optional (network == "ethernet") "--with-device=ch3:sock"
      ++ lib.optionals (network == "infiniband") [ "--with-device=ch3:mrail" "--with-rdma=gen2" ]
      ++ lib.optionals (network == "omnipath") ["--with-device=ch3:psm" "--with-psm2=${libpsm2}"]
  
negative.code: } :
  
  assert builtins.elem network [ "ethernet" "infiniband" "omnipath" ];
  
  let
  
  