Skip to content

Commit

Permalink
extend what nix fmt does
Browse files Browse the repository at this point in the history
  • Loading branch information
NobbZ committed Jun 16, 2024
1 parent c34d9f3 commit 350d554
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
system,
...
}: {
formatter = pkgs.alejandra;
formatter = pkgs.writeShellScriptBin "formatter" ''
${pkgs.lib.getExe pkgs.alejandra} .
yarn prettier -w .
'';

# apps.serve.program = "${pkgs.writeShellScript "serve" ''
# set -e
Expand Down

0 comments on commit 350d554

Please sign in to comment.