anchor.diff:        "--with-ofed=${rdma-core}"
         "--sysconfdir=/etc/slurm"
         "--with-pmix=${pmix}"
  +      "--with-bpf=${libbpf}"
       ] ++ (optional (gtk2 == null)  "--disable-gtktest")
         ++ (optional (!enableX11) "--disable-x11");
   
  
positive.code: { lib, stdenv, fetchFromGitHub, pkg-config, libtool, curl
  , python3, munge, perl, pam, shadow, coreutils
  , ncurses, libmysqlclient, gtk2, lua, hwloc, numactl
  , readline, freeipmi, xorg, lz4, rdma-core, nixosTests
  , pmix
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "slurm";
    version = "22.05.0.1";
  
    # N.B. We use github release tags instead of https://www.schedmd.com/downloads.php
    # because the latter does not keep older releases.
  