Updated project details

This commit is contained in:
2026-08-18 20:56:07 -05:00
parent 168bbd9300
commit 84c79bce65
11 changed files with 4308 additions and 299 deletions
+32 -14
View File
@@ -1,15 +1,33 @@
{
pkgs ? import <nixpkgs> { },
}:
pkgs.mkShell {
buildInputs = [
pkgs.rustc
pkgs.cargo
pkgs.rustfmt
pkgs.clippy
pkgs.rust-analyzer
{pkgs ? import <nixpkgs> {}}: let
runtimeLibs = with pkgs; [
wayland
libxkbcommon
libGL
vulkan-loader
libx11
libxcursor
libxrandr
libxi
];
shellHook = ''
echo "[shell.nix] Legacy shell for Rust dev. Use 'nix develop' for full flake support."
'';
}
in
pkgs.mkShell {
buildInputs =
[
pkgs.rustc
pkgs.cargo
pkgs.rustfmt
pkgs.clippy
pkgs.rust-analyzer
pkgs.pkg-config
]
++ runtimeLibs;
env = {
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath runtimeLibs;
};
shellHook = ''
export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath runtimeLibs}:$LD_LIBRARY_PATH"
echo "[shell.nix] Legacy shell for Rust dev. Use 'nix develop' for full flake support."
'';
}