mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
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:
@@ -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
|
||||
]
|
||||
}"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user