Run clang-format

This commit is contained in:
Florian RICHER 2025-02-25 13:32:53 +01:00
parent 372b482212
commit d149cbe6a5
12 changed files with 974 additions and 132 deletions

View file

@ -15,12 +15,16 @@
pkgs = import nixpkgs { inherit system; };
linux = pkgs.linuxKernel.kernels.linux_zen;
packages = with pkgs; [
clang-tools
];
in {
devShells = rec {
default = nixos;
nixos = pkgs.mkShell {
packages = [ linux.moduleBuildDependencies ];
packages = [ linux.moduleBuildDependencies ] ++ packages;
LINUX_MODULES_FOLDER = "${linux.dev}/lib/modules/${linux.modDirVersion}";
@ -30,6 +34,8 @@
};
other = pkgs.mkShell {
inherit packages;
shellHook = ''
export LINUX_MODULES_FOLDER=/lib/modules/$(uname -r)
echo "Current Linux Kernel used : $(uname -r)"