anchor.diff:      owner = "KhronosGroup";
       repo = "MoltenVK";
       rev = "v${finalAttrs.version}";
  -    hash = "sha256-+/vlZvEuake0E2jFZOcctEVGMCcXelGPQJXt1EI06us=";
  +    hash = "sha256-PqrKGNGw7nJbirRgIargIV6Jbgoblu+2fn5qdHKI6BI=";
     };
   
     patches = [
  
positive.code:       src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "SPIRV-Cross";
          rev = "61c603f3baa5270e04bcfb6acf83c654e3c57679";
          hash = "sha256-gV5ba8SlPmkUptZkQfrrEDoFXrFTfs3eVOf807cO/f8=";
        };
      });
      spirv-headers = spirv-headers.overrideAttrs (_: {
        src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "spirv-headers";
          rev = "b2a156e1c0434bc8c99aaebba1c7be98be7ac580";
          hash = "sha256-qYhFoRrQOlvYvVXhIFsa3dZuORDpZyVC5peeYmGNimw=";
        };
      });
      spirv-tools = (spirv-tools.overrideAttrs (old: {
        src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "spirv-tools";
          rev = "5e61ea2098220059e89523f1f47b0bcd8c33b89a";
          hash = "sha256-jpVvjrNrTAKUY4sjUT/gCUElLtW4BrznH1DbStojGB8=";
        };
      })).override { inherit (finalAttrs.passthru) spirv-headers; };
      vulkan-headers = vulkan-headers.overrideAttrs (old: {
        src = fetchFromGitHub {
          owner = "KhronosGroup";
          repo = "Vulkan-Headers";
          rev = "c896e2f920273bfee852da9cca2a356bc1c2031e";
          hash = "sha256-zUT5+Ttmkrj51a9FS1tQxoYMS0Y0xV8uaCEJNur4khc=";
        };
      });
    };
  
negative.code: 
  stdenv.mkDerivation (finalAttrs: {
    pname = "MoltenVK";
    version = "1.2.0";
  
    buildInputs = [ AppKit Foundation Metal QuartzCore cereal ]
      ++ lib.attrValues finalAttrs.passthru;
  