add deno to formatters

This commit is contained in:
Jörg Thalheim 2023-09-15 08:00:46 +02:00 committed by mergify[bot]
parent ea3e29fe7d
commit 4ec801c317

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 "$@"
'';
}
);