anchor.diff:      });
   
     passthru = rec {
  -
  +    spirv-llvm-translator = llvmPkgs.spirv-llvm-translator;
  +    llvm = addPatches "llvm" llvmPkgs.llvm;
       libclang = addPatches "clang" llvmPkgs.libclang;
   
       clang-unwrapped = libclang.out;
  
positive.code:     patchesOut = stdenv.mkDerivation rec {
        pname = "opencl-clang-patches";
        inherit (library) version src patches;
        installPhase = ''
          [ -d patches ] && cp -r patches/ $out || mkdir $out
          mkdir -p $out/clang $out/spirv
        '';
      };
  
      spirv-llvm-translator = addPatches "spirv" llvmPkgs.spirv-llvm-translator;
  
    };
  
    library = let
  
negative.code: , cmake
  , git
  
  , llvmPackages_11
  , spirv-llvm-translator
  
  , buildWithPatches ? true
  }:
  
  let
    llvmPkgs = llvmPackages_11 // {
      inherit spirv-llvm-translator;
    };
  
  