From 2937bfbf852ce89b63b47e02abb5cf79766bfd76 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sat, 27 Sep 2025 13:27:47 +1000 Subject: [PATCH] merge enby environment with RENA --- .gitignore | 12 +++++++++++- flake.nix | 21 +++++++++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 97f3e31..3b70dea 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,11 @@ -sandbox/ +deps/* +!deps/Makefile + +bin/ + +# clang +.cache +compile_commands.json + +# valgrind +vgcore.* diff --git a/flake.nix b/flake.nix index f89e84b..a158062 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "devshell-dorne"; + description = "devshell-enby"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; @@ -22,7 +22,9 @@ }; devShells = forAllSystems ( - system: pkgs: { + system: pkgs: let + lib = pkgs.lib; + in { default = pkgs.mkShell { packages = with pkgs; [ gnumake @@ -43,8 +45,23 @@ ]) # .NET Development Tooling ilspycmd + + # Dear ImGui + freetype.dev + # SDL3+OpenGL3 backend (OPTIONAL) + # TODO: remove these and only install if necessary + glfw3 + glm + sdl3 + sdl3-image + sdl3-ttf ]; + env = { + #SDL_CONFIG = "${SDL2.dev}/bin/sdl2-config"; + PATH = lib.makeBinPath [pkgs.sdl3.dev]; + }; + shell = "${pkgs.bash}/bin/bash"; # so I can easily read the glibc header files