Run clang-format
This commit is contained in:
parent
372b482212
commit
d149cbe6a5
12 changed files with 974 additions and 132 deletions
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue