anchor.diff:  , vulkan-loader
   , wayland
   , wrapQtAppsHook
  +, enableWayland ? true
   }:
   
  -stdenv.mkDerivation rec {
  +stdenv.mkDerivation {
     pname = "duckstation";
     version = "unstable-2022-11-18";
  +
     src = fetchFromGitHub {
       owner = "stenzek";
  -    repo = pname;
  +    repo = "duckstation";
       rev = "8d7aea5e19859ed483699cc4a5dbd47165c7be8b";
       sha256 = "sha256-92Wn1ZEEZszmVK/KrJqjDuQf/lyD8/VScfTI/St5dY4=";
     };
  
positive.code:     qtbase
      qtsvg
      vulkan-loader
      wayland
    ];
  
    cmakeFlags = [
      "-DUSE_DRMKMS=ON"
      "-DUSE_WAYLAND=ON"
    ];
  
    desktopItems = [
      (makeDesktopItem {
  
negative.code: , SDL2
  , cmake
  , copyDesktopItems
  , curl
  , extra-cmake-modules
  , libXrandr
  , libpulseaudio
  , makeDesktopItem
  , mesa # for libgbm
  , ninja
  , pkg-config
  