try dev shell

This commit is contained in:
2026-02-03 18:15:37 -06:00
parent cd19db0b88
commit 148ed1253c
3 changed files with 42 additions and 6 deletions

View File

@@ -264,5 +264,42 @@
program = "${self.Archimedes.examples.MinimalApp}/bin/Archimedes";
};
devShells.${system} = {
default = pkgs.mkShellNoCC {
packages = with pkgs; [
clang
glfw
glew
sdl3
curl
nlohmann_json
imgui
gamenetworkingsockets
];
shellHook = ''
cp ${(pkgs.writeText ".ccls" ''
clang++
-Iinputs
-I.
-I${gamenetworkingsockets}/include/GameNetworkingSockets
-DWINDOW=1
-DRENDERER=1
'')} ./.ccls
'';
};
};
};
}