From 85bf2e8a81978b6dd1b645c803ac18b7334dad80 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 30 Apr 2026 08:59:27 -0500 Subject: [PATCH] citrix-workspace: add PulseAudio runtime path HdxRtcEngine loads libpulse.so.0 dynamically, so autoPatchelf cannot discover the dependency from ELF metadata. Add libpulseaudio to the wrapper library path so Teams HDX optimization can initialize endpoint audio. --- .../networking/remote/citrix-workspace/generic.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/networking/remote/citrix-workspace/generic.nix b/pkgs/applications/networking/remote/citrix-workspace/generic.nix index 562c61a9c51c..1ea48306fe1f 100644 --- a/pkgs/applications/networking/remote/citrix-workspace/generic.nix +++ b/pkgs/applications/networking/remote/citrix-workspace/generic.nix @@ -277,6 +277,9 @@ stdenv.mkDerivation rec { "$ICAInstDir/lib" "$ICAInstDir/usr/lib/x86_64-linux-gnu" "$ICAInstDir/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/injected-bundle" + # HdxRtcEngine loads libpulse.so.0 with dlopen, so autoPatchelf + # cannot discover it from ELF dependencies. + "${lib.getLib libpulseaudio}/lib" ] );