Skip to content

Commit

Permalink
Add formatter to flake.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
fzakaria committed Aug 12, 2024
1 parent 9302fa2 commit 91c742f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@
};
version = builtins.substring 0 8 self.lastModifiedDate;
in {
# Formatter for your nix files, available through 'nix fmt'
# Other options beside 'alejandra' include 'nixpkgs-fmt'
formatter = pkgs.alejandra;

packages = rec {
tclipd = pkgs.buildGoApplication {
pname = "tclipd";
Expand Down

0 comments on commit 91c742f

Please sign in to comment.