From feafc3f8466f71ffa37e39b7f6aaa5f89dfb4956 Mon Sep 17 00:00:00 2001 From: William Weiskopf Date: Thu, 21 May 2026 16:04:19 -0400 Subject: [PATCH] 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". --- pkgs/by-name/qb/qbz/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/qb/qbz/package.nix b/pkgs/by-name/qb/qbz/package.nix index 0673a979afe8..cee5db53ac2a 100644 --- a/pkgs/by-name/qb/qbz/package.nix +++ b/pkgs/by-name/qb/qbz/package.nix @@ -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