anchor.diff:  , numactl
   , perl
   , python3
  +, python3Packages
   , rocclr
   , rocm-comgr
   , rocm-device-libs
  
positive.code: let
    hip = stdenv.mkDerivation rec {
      pname = "hip";
      version = "5.3.0";
  
      src = fetchFromGitHub {
        owner = "ROCm-Developer-Tools";
        repo = "HIP";
        rev = "rocm-${version}";
        hash = "sha256-UAodlVUiTU4n/EyvTIuQekTGh4izmBjKCRXOHXVKY4M=";
      };
  
      patches = [
  
negative.code: in
  stdenv.mkDerivation rec {
    pname = "hip";
    version = "5.3.1";
  
    src = fetchFromGitHub {
      owner = "ROCm-Developer-Tools";
      repo = "hipamd";
      rev = "rocm-${version}";
      hash = "sha256-i7hT/j+V0LT6Va2XcQyyKXF1guoIyhcOHvn842wCRx4=";
    };
  
    nativeBuildInputs = [ cmake python3 makeWrapper perl ];
    buildInputs = [ libxml2 numactl libglvnd libX11 python3Packages.cppheaderparser ];
    propagatedBuildInputs = [
      clang
      llvm
  