duckstation: fix Cubeb under SDL interface

https://github.com/NixOS/nixpkgs/issues/171173
main
Martino Fontana 2 years ago
parent 7699ee4326
commit a62444153e
  1. 5
      pkgs/applications/emulators/duckstation/default.nix

@ -90,8 +90,9 @@ mkDerivation rec {
runHook postCheck runHook postCheck
''; '';
# Libpulseaudio fixes https://github.com/NixOS/nixpkgs/issues/171173
qtWrapperArgs = [ qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${vulkan-loader}/lib" "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio vulkan-loader ]}"
]; ];
meta = with lib; { meta = with lib; {
@ -102,5 +103,3 @@ mkDerivation rec {
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }
# TODO: default sound backend (cubeb) does not work, but SDL does. Strangely,
# switching to cubeb while a game is running makes it work.

Loading…
Cancel
Save