2025-08-17 20:40:58 -07:00
|
|
|
{ pkgs, ... }:
|
|
|
|
pkgs.writeShellApplication {
|
|
|
|
name = "autofmt";
|
|
|
|
runtimeInputs = with pkgs; [
|
|
|
|
# include only a couple of formatters by default
|
|
|
|
deno
|
|
|
|
nixfmt-rfc-style
|
|
|
|
dprint
|
|
|
|
rustfmt
|
|
|
|
zig
|
|
|
|
clang-tools
|
|
|
|
];
|
2025-08-19 01:33:36 -07:00
|
|
|
text = ''exec deno run -A ${./autofmt.js} "$@"'';
|
2025-08-17 20:40:58 -07:00
|
|
|
}
|