anchor.diff: -{ lib, stdenv
  +{ stdenv
  +, lib
   , fetchFromGitHub
   , addOpenGLRunpath
   , clang-unwrapped
  
positive.code:     description = "Platform runtime for ROCm";
      homepage = "https://github.com/RadeonOpenCompute/ROCR-Runtime";
      license = with licenses; [ ncsa ];
      maintainers = with maintainers; [ ];
    };
  }
  
negative.code: , xxd
  , elfutils
  , llvm
  , numactl
  , rocm-device-libs
  , rocm-thunk }:
  
  stdenv.mkDerivation rec {
    pname = "rocm-runtime";
    version = "4.3.1";
  
    src = fetchFromGitHub {
      owner = "RadeonOpenCompute";
      repo = "ROCR-Runtime";
      rev = "rocm-${version}";
      hash = "sha256-B67v9B8LXDbWNxYNRxM3dgFFLjFSyJmm0zd3G5Bgvek=";
    };
  
    sourceRoot = "source/src";
  
    nativeBuildInputs = [ cmake xxd ];
  
    buildInputs = [ clang-unwrapped elfutils llvm numactl ];
  
    cmakeFlags = [
     "-DBITCODE_DIR=${rocm-device-libs}/amdgcn/bitcode"
  