duckstation: fix Cubeb under SDL interface
https://github.com/NixOS/nixpkgs/issues/171173
This commit is contained in:
parent
7699ee4326
commit
a62444153e
@ -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…
Reference in New Issue
Block a user