From 88bdb254fedd0922b6eb2578eb2dbffd43723139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 15 Sep 2023 08:00:46 +0200 Subject: [PATCH] add deno to formatters --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index da4f719..986a2af 100644 --- a/flake.nix +++ b/flake.nix @@ -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 "$@" ''; } );