Change:
<ins> { stdenv, fetchFromGitHub , cmake, pkgconfig, wrapQtAppsHook , boost173, catch2, fmt, lz4, nlohmann_json, rapidjson, zlib, zstd, SDL2 , udev, libusb1, libzip, qtbase, qtwebengine, qttools, ffmpeg , libpulseaudio, libjack2, alsaLib, sndio, ecasound , useVulkan ? true, vulkan-loader, vulkan-headers }: stdenv.mkDerivation rec { pname = "yuzu"; version = "482"; src = fetchFromGitHub { owner = "yuzu-emu"; repo = "yuzu-mainline"; # They use a separate repo for mainline “branch” rev = "mainline-0-${version}"; sha256 = "1bhkdbhj1dv33qv0np26gzsw65p4z88whjmd6bc7mh2b5lvrjwxm"; fetchSubmodules = true; }; nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ]; buildInputs = [ qtbase qtwebengine qttools boost173 catch2 fmt lz4 nlohmann_json rapidjson zlib zstd SDL2 udev libusb1 libpulseaudio alsaLib sndio ecasound libjack2 libzip ffmpeg ] ++ stdenv.lib.optionals useVulkan [ vulkan-loader vulkan-headers ]; cmakeFlags = [ "-DENABLE_QT_TRANSLATION=ON" "-DYUZU_USE_QT_WEB_ENGINE=ON" "-DUSE_DISCORD_PRESENCE=ON" ] ++ stdenv.lib.optionals (!useVulkan) [ "-DENABLE_VULKAN=No" ]; # Trick the configure system. This prevents a check for submodule directories. preConfigure = "rm .gitmodules"; # Fix vulkan detection postFixup = stdenv.lib.optionals useVulkan '' wrapProgram $out/bin/yuzu --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib wrapProgram $out/bin/yuzu-cmd --prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib ''; meta = with stdenv.lib; { homepage = "https://yuzu-emu.org"; description = "An experimental Nintendo Switch emulator written in C++"; license = with licenses; [ gpl2Plus # Icons cc-by-nd-30 cc0 ]; maintainers = with maintainers; [ ivar joshuafern ]; platforms = platforms.linux; }; } </ins>

Discussion:
is a Nintendo Switch Emulator
I'll give it a shot. Will likely just pin to a random git revision since it doesn't seem like Yuzu has any official releases at this point.
packaged yuzu-mainline in
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use or on the relevant files to find them. Lastly, you can always ask for help at or at .
I would like to add that I've an which contains always up-to-date versions of yuzu (both early-access and mainline). It also has a binary cache, so you don't have to wait for it to build yourself. The package updates once a day at 8AM ECT. based on your previous interest in yuzu, you might like this as well :)
awesome! I'll look into that. You still plan to bump in nixpkgs once in a while too, though... right? :smile:
Of course! I just wanted to have the absolute latest version also readily available. In fact, I'm working on some patches for it right now :)
That is fantastic. Thank you for your efforts.