anchor.diff:      miniupnpc
     ];
   
  +  postFixup = ''
  +    wrapProgram $out/bin/flycast --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ vulkan-loader ]}
  +  '';
  +
     meta = with lib; {
       homepage = "https://github.com/flyinghead/flycast";
       changelog = "https://github.com/flyinghead/flycast/releases/tag/v${version}";
  
positive.code: , fetchFromGitHub
  , cmake
  , pkg-config
  , alsa-lib
  , libX11
  , libevdev
  
negative.code: , SDL2
  , libzip
  , miniupnpc
  , vulkan-loader
  }:
  
  stdenv.mkDerivation rec {
  