@@ -8,11 +8,7 @@ If you don't see your distro present in the list, feel free to add the instructi
88
99``` bash
1010sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0
11- ```
12-
13- if using Wayland, you will also need to install
14-
15- ``` bash
11+ # optional if you disabled the wayland feature
1612sudo apt-get install libwayland-dev libxkbcommon-dev
1713```
1814
@@ -37,11 +33,7 @@ Following advice from before WSLg's release can lead to additional conflicts.
3733
3834``` bash
3935sudo dnf install gcc-c++ libX11-devel alsa-lib-devel systemd-devel
40- ```
41-
42- if using Wayland, you will also need to install
43-
44- ``` bash
36+ # optional if you disabled the wayland feature
4537sudo dnf install wayland-devel libxkbcommon-devel
4638```
4739
@@ -226,7 +218,7 @@ for more information about `devShells`.
226218Note that this template does not add Rust to the environment because there are many ways to do it.
227219For example, to use stable Rust from nixpkgs, you can add ` cargo ` and ` rustc ` to ` nativeBuildInputs ` .
228220
229- [ Here ] ( https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ju/jumpy/package.nix )
221+ [ nixpkgs#Jumpy ] ( https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ju/jumpy/package.nix )
230222is an example of packaging a Bevy program in nix.
231223
232224## [ OpenSUSE] ( https://www.opensuse.org/ )
@@ -278,11 +270,7 @@ rustflags = ["-C", "target-feature=-crt-static"]
278270``` sh
279271sudo eopkg it -c system.devel
280272sudo eopkg it g++ libx11-devel alsa-lib-devel
281- ```
282-
283- If using Wayland, you may also need to install
284-
285- ``` sh
273+ # optional if you disabled the wayland feature
286274sudo eopkg it wayland-devel libxkbcommon-devel
287275```
288276
0 commit comments