fix: add wayland, x11 libraries in runtime

fixes 'libwayland-egl.so could not be loaded' and 'Initializing X11 Backend failed' on NixOS.
This commit is contained in:
Dasha Mukhina 2024-09-04 11:06:24 +04:00 committed by Victoria Brekenfeld
parent 57eb827469
commit 55c83a3e30

View file

@ -79,6 +79,15 @@
runtimeDependencies = with pkgs; [
libglvnd # For libEGL
wayland # winit->wayland-sys wants to dlopen libwayland-egl.so
# for running in X11
xorg.libX11
xorg.libXcursor
xorg.libxcb
xorg.libXi
libxkbcommon
# for vulkan backend
vulkan-loader
];
};