anchor.diff:    postPatch = ''
       substituteInPlace CMakeLists.txt \
         --replace 'find_program( LLVM_CLANG clang PATHS ''${LLVM_BINDIR} NO_DEFAULT_PATH )' \
  -                'find_program( LLVM_CLANG clang PATHS "${clang-unwrapped}/bin" NO_DEFAULT_PATH )'
  +                'find_program( LLVM_CLANG clang PATHS "${clang-unwrapped}/bin" NO_DEFAULT_PATH )' \
  +      --replace 'find_program( LLVM_SPIRV llvm-spirv PATHS ''${LLVM_BINDIR} NO_DEFAULT_PATH )' \
  +                'find_program( LLVM_SPIRV llvm-spirv PATHS "${spirv-llvm-translator}/bin" NO_DEFAULT_PATH )'
     '';
   
  -  nativeBuildInputs = [ cmake ninja python3 ];
  +  nativeBuildInputs = [ cmake ninja python3 spirv-llvm-translator ];
     buildInputs = [ llvm clang-unwrapped ];
     strictDeps = true;
     cmakeFlags = [
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "libclc";
    version = "11.0.1";
  
    src = fetchFromGitHub {
      owner = "llvm";
      repo = "llvm-project";
      rev = "llvmorg-${version}";
      sha256 = "0bxh43hp1vl4axl3s9n2nb2ii8x1cbq98xz9c996f8rl5jy84ags";
    };
    sourceRoot = "source/libclc";
  
  
negative.code: { lib, stdenv, fetchFromGitHub, ninja, cmake, python3, llvmPackages, spirv-llvm-translator }:
  
  let
    llvm = llvmPackages.llvm;
  