111 lines
2.1 KiB
Nix
111 lines
2.1 KiB
Nix
{ ... }: {
|
|
|
|
perSystem = { config, system, pkgs, self', inputs', ... }: {
|
|
|
|
devShells = {
|
|
bash = pkgs.mkShellNoCC {
|
|
|
|
packages = with pkgs; [
|
|
clang
|
|
|
|
glfw
|
|
glew
|
|
|
|
sdl3
|
|
|
|
curl
|
|
glm
|
|
nlohmann_json
|
|
stb
|
|
|
|
gamenetworkingsockets
|
|
|
|
];
|
|
|
|
shellHook = ''
|
|
'';
|
|
|
|
};
|
|
|
|
nvim-bash = pkgs.mkShellNoCC {
|
|
|
|
packages = with pkgs; [
|
|
clang
|
|
|
|
glfw
|
|
glew
|
|
|
|
sdl3
|
|
|
|
curl
|
|
glm
|
|
nlohmann_json
|
|
stb
|
|
|
|
gamenetworkingsockets
|
|
|
|
];
|
|
|
|
shellHook = ''
|
|
exec nvim
|
|
'';
|
|
|
|
};
|
|
|
|
zsh = pkgs.mkShellNoCC {
|
|
|
|
packages = with pkgs; [
|
|
clang
|
|
|
|
glfw
|
|
glew
|
|
|
|
sdl3
|
|
|
|
curl
|
|
glm
|
|
nlohmann_json
|
|
stb
|
|
|
|
gamenetworkingsockets
|
|
|
|
];
|
|
|
|
shellHook = ''
|
|
export SHELL=$(realpath `which zsh`)
|
|
exec zsh
|
|
'';
|
|
|
|
};
|
|
|
|
nvim-zsh = pkgs.mkShellNoCC {
|
|
|
|
packages = with pkgs; [
|
|
clang
|
|
|
|
glfw
|
|
glew
|
|
|
|
sdl3
|
|
|
|
curl
|
|
glm
|
|
nlohmann_json
|
|
stb
|
|
|
|
gamenetworkingsockets
|
|
|
|
];
|
|
|
|
shellHook = ''
|
|
export SHELL=$(realpath `which zsh`)
|
|
exec nvim
|
|
'';
|
|
|
|
};
|
|
|
|
default = self'.devShells.bash;
|
|
};
|
|
};
|
|
}
|