add deno to formatters

This commit is contained in:
Jörg Thalheim committed 2023-09-15 08:04:36 +02:00
1 parent b93ef41a24
commit 88bdb254fe
1 file changed
+3 -1
+3 -1
View File
@@ -57,15 +57,17 @@
pkgs = nixpkgs.legacyPackages.${system};
in
pkgs.writeShellApplication {
name = "normalise_nix";
name = "format";
runtimeInputs = with pkgs; [
nixpkgs-fmt
statix
deno
];
text = ''
set -o xtrace
nixpkgs-fmt "$@"
statix fix "$@"
deno fmt "$@"
'';
}
);