added stuff
This commit is contained in:
parent
6d31f5b5a1
commit
7d4f626b7d
907 changed files with 70990 additions and 0 deletions
36
nyx/flake/templates/c/shell.nix
Normal file
36
nyx/flake/templates/c/shell.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
callPackage,
|
||||
clang-tools,
|
||||
gnumake,
|
||||
cmake,
|
||||
bear,
|
||||
libcxx,
|
||||
cppcheck,
|
||||
llvm,
|
||||
gdb,
|
||||
glm,
|
||||
SDL2,
|
||||
SDL2_gfx,
|
||||
}: let
|
||||
mainPkg = callPackage ./default.nix {};
|
||||
in
|
||||
mainPkg.overrideAttrs (oa: {
|
||||
nativeBuildInputs =
|
||||
[
|
||||
clang-tools # fix headers not found
|
||||
gnumake # builder
|
||||
cmake # another builder
|
||||
bear # bear.
|
||||
libcxx # stdlib for cpp
|
||||
cppcheck # static analysis
|
||||
llvm.lldb # debugger
|
||||
gdb # another debugger
|
||||
llvm.libstdcxxClang # LSP and compiler
|
||||
llvm.libcxx # stdlib for C++
|
||||
# libs
|
||||
glm
|
||||
SDL2
|
||||
SDL2_gfx
|
||||
]
|
||||
++ (oa.nativeBuildInputs or []);
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue