Skip to content

Commit 478bf7a

Browse files
author
Oscar
committed
Remove Lutris from NixOS dependency section (#2945)
# Objective - Using the instructions given for NixOS results in an unnecessarily long time to evaluate the shell expression due to unnecessary dependencies pulled in by `lutris`. ## Solution - Removed `lutris` dependency. Lutris is a GUI tool for running games on wine, I'm assuming it was pulled in by accident as it's definitely not necessary for running bevy. A hello world example, at the least, works fine without it.
1 parent 6b23971 commit 478bf7a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/linux_dependencies.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ These packages provide the dependencies required to run a bevy project. They can
7979
Based on your global configuration it also might be necessary to allow unfree packages:
8080

8181
```bash
82-
export NIXPKGS_ALLOW_UNFREE=1 # needed for lutris
83-
nix-shell -p cargo pkgconfig udev lutris alsaLib x11 xorg.libXcursor xorg.libXrandr xorg.libXi vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers
82+
nix-shell -p cargo pkgconfig udev alsaLib x11 xorg.libXcursor xorg.libXrandr xorg.libXi vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers
8483
```
8584

8685
Alternatively, you can define `shell.nix` containing:
@@ -93,7 +92,7 @@ with pkgs;
9392
mkShell {
9493
buildInputs = [
9594
cargo
96-
pkgconfig udev alsaLib lutris
95+
pkgconfig udev alsaLib
9796
x11 xorg.libXcursor xorg.libXrandr xorg.libXi
9897
vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers
9998
];

0 commit comments

Comments
 (0)