anchor.diff:  , pkg-config
   , python3
   , SDL2
  -, substituteAll
   , udev
   , vulkan-loader
   , wayland
   , which
   }:
   
  -with lib;
  -
   let
  -  version = "1.9.14";
  -  libretroSuperSrc = fetchFromGitHub {
  +  version = "1.10.0";
  +  libretroCoreInfo = fetchFromGitHub {
       owner = "libretro";
       repo = "libretro-core-info";
  -    sha256 = "sha256-C2PiBcN5r9NDxFWFE1pytSGR1zq9E5aVt6QUf5aJ7I0=";
  +    sha256 = "sha256-3j7fvcfbgyk71MmbUUKYi+/0cpQFNbYXO+DMDUjDqkQ=";
       rev = "v${version}";
     };
  +  runtimeLibs = lib.optional withVulkan vulkan-loader
  +    ++ lib.optional withGamemode gamemode.lib;
   in
   stdenv.mkDerivation rec {
     pname = "retroarch-bare";
  
positive.code: { lib
  , stdenv
  , enableNvidiaCgToolkit ? false
  , withVulkan ? stdenv.isLinux
  , alsa-lib
  , AppKit
  
negative.code:   src = fetchFromGitHub {
      owner = "libretro";
      repo = "RetroArch";
      sha256 = "sha256-bpTSzODVRKRs1OW6JafjbU3e/AqdQeGzWcg1lb9SIyo=";
      rev = "v${version}";
    };
  
  