From 30ca97e287de91b3fe6b4d5b1ce27126c1e3f73a Mon Sep 17 00:00:00 2001 From: Domi Date: Mon, 20 Jun 2022 19:06:38 +0000 Subject: [PATCH] Fix Nix section of linux_dependencies.md (#5050) # Objective `nix-shell` reported: ```error: 'x11' has been renamed to/replaced by 'xlibsWrapper'```. ## Solution Replacing `x11` with `xlibsWrapper` in the Nix section of linux_dependencies.md fixes the problem on my system, and bevy projects build fine. --- docs/linux_dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index b00e413d80..a5ac28a01f 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -84,7 +84,7 @@ with pkgs; mkShell { ]; buildInputs = [ udev alsaLib vulkan-loader - x11 xorg.libXcursor xorg.libXrandr xorg.libXi # To use x11 feature + xlibsWrapper xorg.libXcursor xorg.libXrandr xorg.libXi # To use x11 feature libxkbcommon wayland # To use wayland feature ]; shellHook = ''export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.lib.makeLibraryPath [