meta: refactor repository
This commit is contained in:
parent
a306e192a4
commit
599fe1903f
28 changed files with 276 additions and 136 deletions
22
templates/nim/flake/formatter.nix
Normal file
22
templates/nim/flake/formatter.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
writeShellApplication,
|
||||
fd,
|
||||
statix,
|
||||
nixfmt-rfc-style,
|
||||
deadnix,
|
||||
nim-2_0,
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "linter";
|
||||
runtimeInputs = [
|
||||
fd
|
||||
statix
|
||||
nixfmt-rfc-style
|
||||
deadnix
|
||||
nim-2_0
|
||||
];
|
||||
text = ''
|
||||
fd -e nix -X deadnix -e \; -X nixfmt {}
|
||||
fd -e nix -x statix fix {}
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue