Skip to content

Commit

Permalink
Fix Nix section of linux_dependencies.md (bevyengine#5050)
Browse files Browse the repository at this point in the history

# 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.
  • Loading branch information
fluunke authored and inodentry committed Aug 8, 2022
1 parent 69f34f3 commit cf1d81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/linux_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand Down

0 comments on commit cf1d81d

Please sign in to comment.