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.
This commit is contained in:
parent
6b239713bf
commit
478bf7a2b6
@ -79,8 +79,7 @@ These packages provide the dependencies required to run a bevy project. They can
|
|||||||
Based on your global configuration it also might be necessary to allow unfree packages:
|
Based on your global configuration it also might be necessary to allow unfree packages:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export NIXPKGS_ALLOW_UNFREE=1 # needed for lutris
|
nix-shell -p cargo pkgconfig udev alsaLib x11 xorg.libXcursor xorg.libXrandr xorg.libXi vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers
|
||||||
nix-shell -p cargo pkgconfig udev lutris alsaLib x11 xorg.libXcursor xorg.libXrandr xorg.libXi vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, you can define `shell.nix` containing:
|
Alternatively, you can define `shell.nix` containing:
|
||||||
@ -93,7 +92,7 @@ with pkgs;
|
|||||||
mkShell {
|
mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
cargo
|
cargo
|
||||||
pkgconfig udev alsaLib lutris
|
pkgconfig udev alsaLib
|
||||||
x11 xorg.libXcursor xorg.libXrandr xorg.libXi
|
x11 xorg.libXcursor xorg.libXrandr xorg.libXi
|
||||||
vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers
|
vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user