teamviewer: fix screen sharing by adding pipewire to LD_LIBRARY_PATH

TeamViewer_Desktop dlopen()s libpipewire-0.3.so.0 at runtime, but the library
was not in any of its search paths. As a result, incoming connections were
refused with "Session is not ready for screen sharing".

autoPatchelfHook does not detect this runtime dependency, leaving the package
incomplete. Add pipewire to the wrapper's LD_LIBRARY_PATH.
This commit is contained in:
Christian Kruse
2026-09-08 16:25:27 +02:00
parent 7d2334836d
commit 81b89fa2df

View File

@@ -20,6 +20,7 @@
icu63,
nss,
minizip,
pipewire,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -131,6 +132,8 @@ stdenv.mkDerivation (finalAttrs: {
libxfixes
dbus
icu63
# dlopen'd by TeamViewer_Desktop for the Wayland ScreenCast portal
pipewire
]
}"
];