From 478bf7a2b6492ff59fe2be223aed1f2d43bd4c6c Mon Sep 17 00:00:00 2001 From: Oscar Date: Sat, 1 Jan 2022 22:55:19 +0000 Subject: [PATCH] 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. --- docs/linux_dependencies.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/linux_dependencies.md b/docs/linux_dependencies.md index d9b6fb1480..d4842c9eb6 100644 --- a/docs/linux_dependencies.md +++ b/docs/linux_dependencies.md @@ -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: ```bash -export NIXPKGS_ALLOW_UNFREE=1 # needed for lutris -nix-shell -p cargo pkgconfig udev lutris alsaLib x11 xorg.libXcursor xorg.libXrandr xorg.libXi vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers +nix-shell -p cargo pkgconfig udev alsaLib x11 xorg.libXcursor xorg.libXrandr xorg.libXi vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers ``` Alternatively, you can define `shell.nix` containing: @@ -93,7 +92,7 @@ with pkgs; mkShell { buildInputs = [ cargo - pkgconfig udev alsaLib lutris + pkgconfig udev alsaLib x11 xorg.libXcursor xorg.libXrandr xorg.libXi vulkan-tools vulkan-headers vulkan-loader vulkan-validation-layers ];