changes for nix

This commit is contained in:
2026-04-13 08:31:17 -04:00
parent f2b113351c
commit a6d1ffc765
1675 changed files with 94 additions and 220993 deletions

25
shell.nix Normal file
View File

@@ -0,0 +1,25 @@
{pkgs ? import <nixpkgs> {}}:
pkgs.mkShell {
buildInputs = with pkgs; [
# Compiler and Build Tools
gnumake
# Windowing and Graphics
glfw3
libGL
libGLU
alsa-lib
# Common X11 dependencies (often required by GLFW)
xorg.libX11
xorg.libXrandr
xorg.libXinerama
xorg.libXcursor
xorg.libXi
];
shellHook = ''
export LD_LIBRARY_PATH="${pkgs.libGL}/lib:${pkgs.lib.makeLibraryPath [pkgs.glfw3]}:$LD_LIBRARY_PATH"
echo "OpenGL and GLFW environment loaded!"
'';
}