diff --git a/pkgs/applications/emulators/rpcs3/default.nix b/pkgs/applications/emulators/rpcs3/default.nix index 45c5bc642ae2..b035c7b0d17f 100644 --- a/pkgs/applications/emulators/rpcs3/default.nix +++ b/pkgs/applications/emulators/rpcs3/default.nix @@ -2,9 +2,8 @@ , qtbase, qtquickcontrols, qtmultimedia, openal, glew, vulkan-headers, vulkan-loader, libpng , ffmpeg, libevdev, libusb1, zlib, curl, wolfssl, python3, pugixml, faudio, flatbuffers , sdl2Support ? true, SDL2 -, pulseaudioSupport ? true, libpulseaudio +, cubebSupport ? true, cubeb , waylandSupport ? true, wayland -, alsaSupport ? true, alsa-lib }: let @@ -66,8 +65,7 @@ stdenv.mkDerivation { qtbase qtquickcontrols qtmultimedia openal glew vulkan-headers vulkan-loader libpng ffmpeg libevdev zlib libusb1 curl wolfssl python3 pugixml faudio flatbuffers ] ++ lib.optional sdl2Support SDL2 - ++ lib.optional pulseaudioSupport libpulseaudio - ++ lib.optional alsaSupport alsa-lib + ++ lib.optionals cubebSupport cubeb.passthru.backendLibs ++ lib.optional waylandSupport wayland; postInstall = ''