mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
wlx-overlay-s: add required libraries (#335597)
This commit is contained in:
commit
c3ad9ddf18
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user