Skip to content

Commit

Permalink
default.nix: add wayland runtime deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Nov 24, 2022
1 parent 5e7a075 commit 85cd9df
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
];
}

0 comments on commit 85cd9df

Please sign in to comment.