anchor.diff:  # - Inputs used for Darwin
   , CoreBluetooth, ForceFeedback, IOKit, OpenGL, libpng, hidapi }:
   
  -let
  -  desktopItem = makeDesktopItem {
  -    name = "dolphin-emu-master";
  -    exec = "dolphin-emu-master";
  -    icon = "dolphin-emu";
  -    comment = "A Wii/GameCube Emulator";
  -    desktopName = "Dolphin Emulator (master)";
  -    genericName = "Wii/GameCube Emulator";
  -    categories = "Game;Emulator;";
  -    startupNotify = "false";
  -  };
  -in stdenv.mkDerivation rec {
  +stdenv.mkDerivation rec {
     pname = "dolphin-emu";
     version = "5.0-15260";
   
  
positive.code: { lib, stdenv, fetchFromGitHub, makeDesktopItem, pkg-config, cmake
  , wrapQtAppsHook, qtbase, bluez, ffmpeg, libao, libGLU, libGL, pcre, gettext
  , libXrandr, libusb1, lzo, libpthreadstubs, libXext, libXxf86vm, libXinerama
  , libSM, libXdmcp, readline, openal, udev, libevdev, portaudio, curl, alsa-lib
  
negative.code: 
    qtWrapperArgs = lib.optionals stdenv.isLinux [
      "--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib"
      # https://bugs.dolphin-emu.org/issues/11807
      # The .desktop file should already set this, but Dolphin may be launched in other ways
      "--set QT_QPA_PLATFORM xcb"
    ];
  
    # - Allow Dolphin to use nix-provided libraries instead of building them
  