From dcd78f1f105d5225abc63854b103c054c6fefc50 Mon Sep 17 00:00:00 2001 From: CopeFiend Date: Sun, 12 Apr 2026 02:10:42 +0800 Subject: [PATCH] Renamed scripting.md to match chapter title "Installation and Project Creation" --- ...ng.md => installation_and_project_creation.md} | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) rename src/beginning/{scripting.md => installation_and_project_creation.md} (95%) diff --git a/src/beginning/scripting.md b/src/beginning/installation_and_project_creation.md similarity index 95% rename from src/beginning/scripting.md rename to src/beginning/installation_and_project_creation.md index ff6dd172..9973c74a 100644 --- a/src/beginning/scripting.md +++ b/src/beginning/installation_and_project_creation.md @@ -63,17 +63,24 @@ For NixOS, run `nix develop` from the root of your project to open a shell with { devShells = forAllSystems ({ pkgs }: with pkgs; { default = mkShell rec { - buildInputs = [ + nativeBuildInputs = [ + pkg-config rust-bin.stable.latest.default + ]; - pkg-config - xorg.libxcb + buildInputs = [ + libx11 + libxcb alsa-lib wayland libxkbcommon libGL ]; - LD_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}"; + + LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; + + # Remove this if you don't need LSP support + RUST_SRC_PATH = "${rust-bin.stable.latest.rust-src}/lib/rustlib/src/rust/library"; }; }); };