default.nix: add wayland runtime deps.

This commit is contained in:
Eduard-Mihai Burtescu 2022-11-23 09:11:22 +02:00 committed by Eduard-Mihai Burtescu
parent 5e7a0755c2
commit 85cd9df55a

View File

@ -15,6 +15,12 @@ in with pkgs; stdenv.mkDerivation rec {
# Runtime dependencies.
LD_LIBRARY_PATH = with xorg; lib.makeLibraryPath [
libX11 libXcursor libXi libXrandr vulkan-loader
vulkan-loader
# NOTE(eddyb) winit really wants `libxkbcommon` on Wayland for some reason
# (see https://github.com/rust-windowing/winit/issues/1760 for more info).
wayland libxkbcommon
libX11 libXcursor libXi libXrandr
];
}