From 9499189acdf1ab8a8310601c74ad4735215ac3af Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Wed, 23 Nov 2022 09:11:22 +0200 Subject: [PATCH] default.nix: add `wayland` runtime deps. --- default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 41323d8f55..66331526c8 100644 --- a/default.nix +++ b/default.nix @@ -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 ]; }