qbz: wrap pactl and pw-metadata into PATH

qbz uses pactl for PipeWire device enumeration and sink routing, and
pw-metadata for bit-perfect sample rate queries. Without these on PATH,
audio playback fails with "Failed to run pactl: No such file or directory".
This commit is contained in:
William Weiskopf
2026-05-21 16:04:19 -04:00
parent 3c4f8c0608
commit feafc3f846
+8
View File
@@ -14,7 +14,9 @@
nodejs,
npmHooks,
openssl,
pipewire, # pw-metadata for bit-perfect sample rate queries
pkg-config,
pulseaudio, # pactl for PipeWire device enumeration and sink routing
rustPlatform,
webkitgtk_4_1,
wrapGAppsHook3,
@@ -66,6 +68,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
postInstall = ''
gappsWrapperArgs+=(
--prefix PATH : ${
lib.makeBinPath [
pulseaudio
pipewire
]
}
--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
libappindicator