Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 4 additions & 16 deletions docs/linux_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,7 @@ If you don't see your distro present in the list, feel free to add the instructi

```bash
sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev libxkbcommon-x11-0
```

if using Wayland, you will also need to install

```bash
# optional if you disabled the wayland feature
sudo apt-get install libwayland-dev libxkbcommon-dev
```

Expand All @@ -37,11 +33,7 @@ Following advice from before WSLg's release can lead to additional conflicts.

```bash
sudo dnf install gcc-c++ libX11-devel alsa-lib-devel systemd-devel
```

if using Wayland, you will also need to install

```bash
# optional if you disabled the wayland feature
sudo dnf install wayland-devel libxkbcommon-devel
```

Expand Down Expand Up @@ -226,7 +218,7 @@ for more information about `devShells`.
Note that this template does not add Rust to the environment because there are many ways to do it.
For example, to use stable Rust from nixpkgs, you can add `cargo` and `rustc` to `nativeBuildInputs`.

[Here](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ju/jumpy/package.nix)
[nixpkgs#Jumpy](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/ju/jumpy/package.nix)
is an example of packaging a Bevy program in nix.

## [OpenSUSE](https://www.opensuse.org/)
Expand Down Expand Up @@ -278,11 +270,7 @@ rustflags = ["-C", "target-feature=-crt-static"]
```sh
sudo eopkg it -c system.devel
sudo eopkg it g++ libx11-devel alsa-lib-devel
```

If using Wayland, you may also need to install

```sh
# optional if you disabled the wayland feature
sudo eopkg it wayland-devel libxkbcommon-devel
```

Expand Down