-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f52d57
commit c15afbd
Showing
16 changed files
with
469 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,47 @@ | ||
{ | ||
perSystem = { | ||
config, | ||
lib, | ||
pkgs, | ||
... | ||
}: { | ||
pre-commit.settings = { | ||
hooks = { | ||
markdownlint.enable = true; | ||
perSystem = | ||
{ | ||
config, | ||
lib, | ||
pkgs, | ||
... | ||
}: | ||
{ | ||
pre-commit.settings = { | ||
hooks = { | ||
markdownlint.enable = true; | ||
|
||
alejandra.enable = true; | ||
deadnix.enable = true; | ||
nil.enable = true; | ||
alejandra.enable = true; | ||
deadnix.enable = true; | ||
nil.enable = true; | ||
|
||
clang-format = { | ||
enable = true; | ||
types_or = ["c" "c++" "java" "json" "objective-c"]; | ||
clang-format = { | ||
enable = true; | ||
types_or = [ | ||
"c" | ||
"c++" | ||
"java" | ||
"json" | ||
"objective-c" | ||
]; | ||
}; | ||
}; | ||
|
||
tools.clang-tools = lib.mkForce pkgs.clang-tools_18; | ||
}; | ||
|
||
tools.clang-tools = lib.mkForce pkgs.clang-tools_18; | ||
}; | ||
devShells.default = pkgs.mkShell { | ||
shellHook = '' | ||
${config.pre-commit.installationScript} | ||
''; | ||
|
||
devShells.default = pkgs.mkShell { | ||
shellHook = '' | ||
${config.pre-commit.installationScript} | ||
''; | ||
inputsFrom = [ config.packages.fjordlauncher-unwrapped ]; | ||
buildInputs = with pkgs; [ | ||
ccache | ||
ninja | ||
]; | ||
}; | ||
|
||
inputsFrom = [config.packages.fjordlauncher-unwrapped]; | ||
buildInputs = with pkgs; [ccache ninja]; | ||
formatter = pkgs.alejandra; | ||
}; | ||
|
||
formatter = pkgs.alejandra; | ||
}; | ||
} |
Oops, something went wrong.