add deno to formatters

This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2023-09-17 04:43:25 +00:00
1 parent ea3e29fe7d
commit 4ec801c317
1 file changed
+3 -1
+3 -1
View File
@@ -57,15 +57,17 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in in
pkgs.writeShellApplication { pkgs.writeShellApplication {
name = "normalise_nix"; name = "format";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [
nixpkgs-fmt nixpkgs-fmt
statix statix
deno
]; ];
text = '' text = ''
set -o xtrace set -o xtrace
nixpkgs-fmt "$@" nixpkgs-fmt "$@"
statix fix "$@" statix fix "$@"
deno fmt "$@"
''; '';
} }
); );