anchor.diff:      owner = "KhronosGroup";
       repo = "MoltenVK";
       rev = "v${finalAttrs.version}";
  -    hash = "sha256-LZvCCP2yelTaWcNt+WvG+RZnVLHRgMDTlNWwRIey7ZM=";
  +    hash = "sha256-+/vlZvEuake0E2jFZOcctEVGMCcXelGPQJXt1EI06us=";
     };
   
     patches = [
  
positive.code:       src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "SPIRV-Cross";
          rev = "50b4d5389b6a06f86fb63a2848e1a7da6d9755ca";
          hash = "sha256-SsupPHJ3VHxJhEAUl3EeQwN4texYhdDjxTnGD+bkNAw=";
        };
      });
      spirv-headers = spirv-headers.overrideAttrs (_: {
        src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "spirv-headers";
          rev = "5a121866927a16ab9d49bed4788b532c7fcea766";
          hash = "sha256-X4GuFesX015mrzutguhZLrIGlllCgAZ+DUBGSADt8xU=";
        };
      });
      spirv-tools = (spirv-tools.overrideAttrs (old: {
        src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "spirv-tools";
          rev = "b930e734ea198b7aabbbf04ee1562cf6f57962f0";
          hash = "sha256-NWpFSRoxtYWi+hLUt9gpw0YScM3shcUwv9yUmbivRb0=";
        };
      })).override { inherit (finalAttrs.passthru) spirv-headers; };
      vulkan-headers = vulkan-headers.overrideAttrs (old: {
        src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "Vulkan-Headers";
          rev = "3ef4c97fd6ea001d75a8e9da408ee473c180e456";
          hash = "sha256-jHzW3m9smuzEGbZrSyBI74K9rFozxiG3M5Xql/WOw7U=";
        };
      });
    };
  
negative.code: 
  stdenv.mkDerivation (finalAttrs: {
    pname = "MoltenVK";
    version = "1.1.11";
  
    buildInputs = [ AppKit Foundation Metal QuartzCore cereal ]
      ++ lib.attrValues finalAttrs.passthru;
  