anchor.diff:      lib.optionals stdenv.isDarwin [ libobjc AppKit Foundation ] ++
       lib.optionals stdenv.isLinux [
         alsa-lib
  +      dbus
         libX11
         libXdmcp
         libXext
  
positive.code: 
    enableParallelBuilding = true;
  
    configureFlags = lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ];
  
    postInstall = ''
      mkdir -p $out/share/libretro/info
  
negative.code: , withVulkan ? stdenv.isLinux
  , alsa-lib
  , AppKit
  , dbus
  , fetchFromGitHub
  , ffmpeg_4
  , Foundation
  