anchor.diff:      ];
       makefile = "Makefile";
       cmakeFlags = [
  -      "-DCMAKE_BUILD_TYPE=Release"
         "-DLIBRETRO=ON"
       ];
       postPatch = ''
  
positive.code:     extraNativeBuildInputs = [ cmake ];
      makefile = "Makefile";
      cmakeFlags = [
        "-DCMAKE_BUILD_TYPE=Release"
        "-DBUILD_LIBRETRO_CORE=ON"
      ];
      postPatch = "mkdir -p src/duckstation-libretro";
  
negative.code:     ] ++ (with xorg; [ libSM libX11 libXi libpthreadstubs libxcb xcbutil libXext libXrandr libXinerama libXxf86vm ]);
      makefile = "Makefile";
      cmakeFlags = [
        "-DLIBRETRO=ON"
        "-DLIBRETRO_STATIC=1"
        "-DENABLE_QT=OFF"
  