inital commit

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-09-08 03:04:51 +03:00
commit 04127cb569
7 changed files with 8148 additions and 0 deletions

52
flake.nix Normal file
View File

@@ -0,0 +1,52 @@
{
description = "My flake";
inputs = {
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
nativeBuildInputs = [ ];
buildInputs = with pkgs; [
cmake
ninja
];
in
{
devShells.default = pkgs.mkShell.override { stdenv = pkgs.llvmPackages_21.libcxxStdenv; } {
packages =
with pkgs;
[
llvmPackages_21.clang-tools
lldb
codespell
doxygen
gtest
cppcheck
]
++ buildInputs
++ nativeBuildInputs
++ pkgs.lib.optionals pkgs.stdenv.isLinux (
with pkgs;
[
valgrind-light
]
);
env = { };
shellHook = '''';
};
}
);
}