mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 14:03:28 +01:00
add deno to formatters
This commit is contained in:
1 parent
b93ef41a24
commit
88bdb254fe
1 file changed
+3
-1
@@ -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 "$@"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user