wlx-overlay-s: add required libraries (#335597)

This commit is contained in:
h7x4 2024-08-30 10:21:39 +02:00 committed by GitHub
commit c3ad9ddf18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,8 @@
fetchFromGitHub,
fontconfig,
lib,
libGL,
libuuid,
libX11,
libXext,
libXrandr,
@ -19,6 +21,7 @@
shaderc,
stdenv,
testers,
vulkan-loader,
wayland,
wlx-overlay-s,
}:
@ -76,7 +79,11 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
patchelf $out/bin/wlx-overlay-s \
--add-needed ${lib.getLib wayland}/lib/libwayland-client.so.0 \
--add-needed ${lib.getLib libxkbcommon}/lib/libxkbcommon.so.0
--add-needed ${lib.getLib libxkbcommon}/lib/libxkbcommon.so.0 \
--add-needed ${lib.getLib libGL}/lib/libEGL.so.1 \
--add-needed ${lib.getLib libGL}/lib/libGL.so.1 \
--add-needed ${lib.getLib vulkan-loader}/lib/libvulkan.so.1 \
--add-needed ${lib.getLib libuuid}/lib/libuuid.so.1
'';
passthru = {