mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
add deno to formatters
This commit is contained in:
parent
ea3e29fe7d
commit
4ec801c317
1 changed files with 3 additions and 1 deletions
|
@ -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 "$@"
|
||||
'';
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue